HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by minikomi | Hacker News Reader
Parent
Full thread
minikomi
·
Wouldn't the y*2 be the first to be removed completely? :)
View on HN
Kristine1975
·
Not if the language uses implicit returns, as e.g. Ruby does. Then
y * 2
is equivalent to
return y * 2
when it is the last statement in the function.
Reply on news.ycombinator.com