Posts Tagged ‘ wordpress-org ’

Learning Ruby [syntactic sugar] « Julio Terra

October 3, 2011
By

Learning Ruby . Learning Ruby . While learning Ruby it was the first time that I remember hearing the term syntactic. It refers to features provided by a language, such as Ruby, ...

Read more »

Python tips – 风行网

August 1, 2011
By

页面访问:3 | andylin | Python | 2011 年08 月01 日. Python tips . set(). >>>basket = >>>fruit=set(basket) >>>fruit set() >>>'orange' in fruit True ...

Read more »

PHP error handling « puremango.co.uk

July 5, 2009
By

PHP error handling . Does this type of error handling code look familiar? function doFunction($var) { if(is_numeric($var)) { /* do some stuff*/ } else { return -1; } }. BLEH. How ugly is that? There's no indication whether -1 is actually ...

Read more »