3 ms·
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?
by cujo 17y ago
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?
- aquadoctorbob 17y agoCoffeeScript: http://jashkenas.github.com/coffee-script/#existence http://jashkenas.github.com/coffee-script/#existence
- grayrest 17y agoSince coffeescript was mentioned, the Ruby andand library is also frequently mentioned when this comes up. (I only ruby for Rake).