Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steveklabnik
on July 1, 2009
|
parent
|
context
|
favorite
| on:
Ask HN: Why Python over Ruby?
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.
peskytruth
on July 1, 2009
[–]
Just for blocks/procs. Method definitions still require def/end.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: