Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're right. Let's compare to a more adequate language. Like Ruby.

  def inc_all(i, xs)
    xs.map { |x| x + i }
  end


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: