Y
Hacker News
new
|
ask
|
show
|
jobs
by
resonious
2042 days ago
I imagine they could (in theory) simplify it to
sig(name: String, id: String).returns Integer
Losing the block maybe has some undesirable performance implications, but it looks a little nicer without the curly braces.
1 comments
rattray
2041 days ago
I think they did this originally but the performance implications were a deal breaker, and had to move to blocks. Iirc, which is questionable.
link