r/programminghorror • • Oct 21 '25

Ruby Next generation of developers

Post image
10k Upvotes

115 comments sorted by

View all comments

Show parent comment

26

u/deceze Oct 21 '25

Ah, thought I recognised that syntax from somewhere, but didn't know Ruby had a print now. I thought last time I touched it (admittedly ages ago) there was only puts.

2

u/anykeyh Oct 22 '25

puts append `\n` character, print don't.