logoalt Hacker News

pelasacoyesterday at 11:47 AM1 replyview on HN

If I was forced to write it myself, i would love to keep writing ruby. What a wonderful language. I dont write ruby anymore, mostly using golang and python.. but ruby still a joy.


Replies

flosslytoday at 11:12 AM

Have you looked at Kotlin? I looooved Ruby. But now I've come to a conclusion that a stronger type system is worth it: in teams, for LLMs, for my own sanity.

Kotlin is basically a Ruby (OO first with lots of FP goodness) with a serious type system. And where Ruby uses C-written libs in some places, with Kotlin one uses Java written libs from time to time.

See http4k for a nice implementation of Rack + a lot of goodness from Rails, without becoming a framework (it's just a lib).

show 1 reply