Go will finally have generics in 2022. I like their implementation with “type constraint”, from what I’ve read so far. https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md
@qmstuart I wonder what your thoughts on Lua are. :)
I've never written a line of Lua, I know nothing about it. Is it a nicer alternative to golang?
So far I have only been reading Go code, not writing it, but my current perception is that Lua is much more verbose. So I can't really recommend it. :) Just recently I switched from Lua to Fennel (LISP that's transpiled into Lua) with a separate library with some of the Clojure-like goodies, and it was a huge breather.
The road to Java is paved with good intentions 😜
I've been languishing in go this week, I hate it.
I feel your pain
IT just feels like I need to write a million line of code to do anything simple and the result is so verbose that you can't see the woods for the trees. And so help me god if I need to write if err != null { ... } one more damn time!
Guardrail-driven development.
Safety first 😄