* @author Mikey
* @date 2012-03-08 09:55:04
* @shorturl http://kwn.me/1vn9
**/
$this->Post->read('PHP Developers != Programmers?');
I typically avoid referring to myself as a 'programmer', as PHP isn't exactly a language which you write programs in.
Stay with me, I know that you can write some great things in PHP, but PHP isn't typically an "executable language" (probably getting terms wrong here) such as C, C++, C#. If anything you write scripts in PHP, which are singular parts of an application. Not a program.
Maybe I'm arguing semantics? Who knows.
Update
Well, me and Alan just tried out Imran's "FizzBuzz" test (I got to this test via CodingHorror's Blog, which sparked off this post!) to see if we can write a "program" in PHP and pass his test.Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".Turns out, we can! (mine, alans). I took 20 minutes to write mine (trial and error!), Alan took 4.
So, I was wrong. Yay!
$this->Post->read('Comments');
Alan said
Thursday March, 8 2012 10:28:32
For the record, mine was 2 minutes, not 4 :p