Archive for September, 2006

Zend PHP5 Certification

Wednesday, September 13th, 2006

Davey Shafik is reporting that he has taken (and passed - congratulations!) the beta Zend PHP 5 certification exam. I’m planning on taking his once its generally availiable, and I’m glad to hear that the general concerns about the PHP4 exam have been addressed. Davey says its got better questions, with less syntax error stuff.

I never took the PHP4 exam because it all seemed to rest on being able to regurgitate the php manual. Hopfully this has changed. Looking forward to seeing study guides and things appearing on Amazon too.

Under 500 lines!!!!!!1111one

Friday, September 1st, 2006

Saw this article about a forum in Rails. It all looks very pretty and everything.

The thing that caught my eye is the text ‘under 500 lines of code’, I brought the domain onekay.com with the original intention of writing publicly availiable code that did cool stuff, in under 1000 lines (onekay, 1K, geddit?). I changed my mind because of the following reasons:

  • Obscure code
    In order to get down to the required number of code, clarity can get thrown out of the window - nicely written commented blocks of code become horrendous one liners that cryptographers would have trouble deciphering.
  • Included librarys
    It doesn’t mean a thing if your script only has 500 lines, if it needs another 500k lines of code in its required class librarys/framework/whatever in order to execute.
  • Arbitary restriction
    Unless you’re intending to have your piece of software run on a coffee maker or a C64, the number of lines of code your software has, just doesn’t matter. It doesn’t make it any more portable, scalable, or useful.
  • Feature loss
    You’re not writing the best software you can when you attempt to write code with unnecessary restrictions in place - what features are you not implementing? What features are you implementing incompletly?

While I am sure that Beast is clever, well written software, and not all of the above apply here but ‘Under 500 lines of code’ is a gimmicky marketing ploy that seems to work every time.