Sigh

jjore on 2009-05-29T22:08:51

I'm going to be writing a lot of ruby now. :-/ I'm sad to be giving up the awesome tools available in perl. :-/

*sigh*

# Sigh. Automatic semicolons are a disease.
foo =\
  bar\
  .select { |e| e.yah? }\
  .collect { | e| e.noooo! }\
  .select { |e| e.ok? }


ugh

Yanick on 2009-05-29T22:19:58

The trailing backslashes sooo give me TCL slashbacks. Urgh. 8-P

Re:ugh

Yanick on 2009-05-29T22:20:50

Err, flashbacks I mean.

There are ways around that

btilly on 2009-05-29T23:01:30

Ruby will not insert semicolons if it would be syntactically incorrect to do so:

foo =
    bar.
      select { |e| e.yah? }.
      collect { | e| e.noooo! }.
      select { |e| e.ok? }

However do tell me if you find an adequate replacement for strict.

Re:There are ways around that

jjore on 2009-05-30T04:29:57

If Ruby had more Smalltalk, it would be just fine.

foo =
    bar
      select { |e| e.yah? }
      collect { | e| e.noooo! }
      select { |e| e.ok? }.