Comments By: el_vartauy
-
php syntax is ugly (i have 7 years of it), it lacks a community strong focused fraework (as Rails for Ruby), not mean only one, but one clean and complete.(i use CakePHP) Ruby syntax is very attractive, but this syntax sugar lang is slow. i think JS2 (yes the misunderstood Javascript) as server side lang (too) is near to conquer the soul and mind of us. taking JS seriously you will figure out the power of this lang. taking it outside the browser will change the vision we have about it. the problem with JS wasn't the lang itself, the problem was their incompatible implementations (read m$ IE non std crap). this is changing now. one strong point of php is that it's deployed everywhere, think about this factor in js. well, my 2 php (coding style in general) cents: // avoid nested elseif switch (true) { case ($a=1): //code break; case ($a=2): //code break; case (abs($a)==round(M_PI,2)): //code break; default: //code break; }posted on Aug 30, 2007 at 5:35pm | context