News for hackers. Stuff that matters.
Re:Ask HN: Why Python over Ruby? by steveklabnik on Wednesday July 01, 2009 @08:15AM (#682484)
Just as a quick note, you can use '{' and '}' instead of 'do' and 'end' if you want. Standard conventions say that one line blocks get {}, and multi-line ones get do-end.
Re:Ask HN: Why Python over Ruby? by peskytruth on Wednesday July 01, 2009 @09:39AM (#682600)
Just for blocks/procs. Method definitions still require def/end.