I was watching the Lex Fridman and DHH podcast and was surprised that neither knew of any other language that can do `5.times` like Ruby.

Smalltalk is 20 years older and can do something very similar.

Kotlin and Swift can do it exactly like Ruby thanks to extension functions.

Reply to this note

Please Login to reply.

Discussion

No replies yet.