News for hackers. Stuff that matters.
Re:Some Smalltalk about Ruby Loops by graemep on Thursday October 30, 2025 @08:29AM (#45759282)
Its a nice demo of Ruby but I disagree with that is what it looks like in Python.

I would probably do something like

  print("\n".join([f"i={i}" for i in range(1, 10)]))
Re:Some Smalltalk about Ruby Loops by stonecharioteer on Thursday October 30, 2025 @11:15AM (#45760965)
I've done Python for 12 years and I'd reject that PR.