Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Forced obfuscation of local function calls

Name: Anonymous 2011-10-24 6:00

Learn why Ruby is a badly designed mess if you don't know it already: http://ceaude.twoticketsplease.de/articles/ruby-and-the-principle-of-unwelcome-surprise.html

Name: Anonymous 2011-10-24 10:31

>>6
I guess it's equivalent to
if(!foo)
 foo = 200;


Better known as the pseudo-object-oriented-C pseudo-singleton idiotm
Foo *foo;
...
if(!foo)
 foo = new_Foo(bar, baz); /* equivalent to foo ||= new_Foo(bar, baz);


Does anyone else find the lack of semicolons in Ruby disturbing?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List