Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: