Y
Hacker News
new
|
ask
|
show
|
jobs
by
jhbadger
2803 days ago
a function is just a method that returns a value. Why make a special case for it? Of course you can go the other direction and allow functions to return nothing (or a representation of nothing like nil). That's fine too.