News for hackers. Stuff that matters.
Re:New IDE: code bubbles by jrockway on Wednesday March 10, 2010 @06:03PM (#1182278)
If only there was some combinator for sequencing computations... then you could write:

   foo >>= bar >>= baz >>= quux
and there would never be a NullPointerException, because the >>= function could react appropriately when null was encountered!
Re:New IDE: code bubbles by KirinDave on Wednesday March 10, 2010 @06:41PM (#1182357)
You win at the "Most Subtle Haskell Reference" in this conversation.
Re:New IDE: code bubbles by cujo on Wednesday March 10, 2010 @08:01PM (#1182490)
Since I don't know haskell, I'll throw out that groovy does this too.

foo?.bar()?.baz?.quux

What other languages have this kind of shortcut?

Re:New IDE: code bubbles by aquadoctorbob on Wednesday March 10, 2010 @08:55PM (#1182586)
Re:New IDE: code bubbles by grayrest on Wednesday March 10, 2010 @11:51PM (#1183013)
Since coffeescript was mentioned, the Ruby andand library is also frequently mentioned when this comes up. (I only ruby for Rake).
Re:New IDE: code bubbles by doki_pen on Thursday March 11, 2010 @09:16AM (#1183736)

  $ irb
  >> def nil.method_missing *args
  >>   nil   
  >>   end 
  => nil
  >> a = nil
  => nil
  >> a.b.c.d
  => nil
  >>