Hacker News new | ask | show | jobs
by hnfong 902 days ago
Quick, which language is this written in?

a = [1,2,3,4]

for b in a

  print(b)
end
2 comments

Here's some advice. If you want to make a point, make it clear and direct. No one knows what point you are trying to make here.
Here's some advice - don't give unsolicited advice.
end is ruby :)

But you would write `[1, 2, 3, 4].each { |n| print(n) }`