If you think generics have to be complicated, study OCaml’s generics. In particular, check out how hash tables and binary trees work without having to deal with typeclasses. I can hardly think of a language that gets “worse is better” better.
-
-
someone should just write a cross-compiler from Go to Cmm :P
-
I’ve said for years that if you put me in charge of designing Go, I’d take OCaml, make the syntax C-like, drop the object system, do a few other minor cleanups, and maybe add userspace threading. Done.
- 4 more replies
New conversation -
-
-
Rather than continually harping on how Go doesn't have the right features, use these other languages to take over the world. If they're superior in safety and productivity, just use them.
-
Newsflash: language designers are allowed to criticize language design
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.