 | News Feed |
Sections
Community Events
|
| feed this: |  |
CodeUtopia.net: Is PHP a good first language?
posted Thursday May 01, 2008 @ 13:39:53
voice your opinion now!
BY CHRIS CORNUTT
The CodeUtopia blog asks the online community for their opinion - what do you think of PHP as a first language?
Sometimes I've seen people say PHP is a bad first language, because it teaches bad programming habits. But is this actually true at all? Often those who say that don't really like PHP themselves either, many times because of equally untrue reasons.
They argue both sides of the situation, mentioning what could make for a good first language, why PHP is a "nearly perfect" fit for it and some arguing points for the other side as to why PHP isn't the best option.
tagged with: good first programming language argument pro con
Debuggable Blog: Programming Psychology - Return home early
posted Monday April 28, 2008 @ 14:36:43
voice your opinion now!
BY CHRIS CORNUTT
Felix Geisendorfer is taking an interesting approach to defining programming in this new post to the Debuggable blog - he's coming at it more from the level of the perception the programmer has about writing good code.
I believe understanding the patterns in your own thinking will by far make the biggest impact on how good you will get as a programmer. Forget design patterns, forget unit testing, forget all those functions you know. Important is to question why they exist and how they could be improved.
He illustrates through a few examples what he means. He describes one such thought method, the "return home early" process - basically, if something looks too complex for its own good, it probably is. He offers a different way of thinking about it too, a more visual way that can help simplify things even more by laying out the pieces and seeing where they all fit.
tagged with: psychology programming return home early complexity simple visualize
Sebastian Bergmann's Blog: Generating Code from Tests
posted Thursday March 13, 2008 @ 08:43:50
voice your opinion now!
BY CHRIS CORNUTT
Sebastian Bergmann has posted a quick example of how to use the PHPUnit unit testing suite for PHP to create code for you (assuming you're using the test first method of development.
His example builds the class off of a set of test for a "BowlingGame" that ends up with roll() and score() methods based off of the naming conventions used in the test:
Following the convention that the tests for a class BowlingGame (see below) are written in a class named BowlingGameTest (see above), the test case class' source is searched for variables that reference objects of the BowlingGame class and analyzing what methods are called on these objects.
tagged with: phpunit generate code unittest testfirst programming
ONLamp.com: Using Zend Studio for PHP Programming
posted Wednesday March 12, 2008 @ 10:21:00
voice your opinion now!
BY CHRIS CORNUTT
On the O'Reilly PHP blog (ONLamp.com), there's a new post by Michael Ross with an overview of the popular PHP IDE from Zend, their Zend Studio for Eclipse:
Zend Studio for Eclipse is the company's latest update of its PHP IDE, and carries a version number of 6.0. As a foundation, it uses Eclipse, an extensible open source platform for software development that is growing in functionality and widespread usage every year. It also utilizes the PHP Development Tools (PDT) framework.
He looks at the product from all sides - the releases of the products, requirements, pricing, installation and an overview of the interface (complete with screenshots). He also mentions other features that come bundled with the editor like testing integration, file/version management and a built in debugger (as well as special support for the Zend Framework).
tagged with: zendstudio programming ide editor environment overview
|