Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On a separate note, since you're a Ruby core committer, what do you think of the idea of adding CoffeeScript-ish style instance variable syntax for Ruby method definitions? Like this:

def tenderlove(@tenderness)

end



That syntax already works in blocks, so it will work with define_method ;)


Only in 1.8.


meow. <3


They seem better. Not sure if it's life changing though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: