Re:Generics enabled by default in Go tip
by Gibbon1 on Saturday August 21, 2021 @03:22AM
(#28254973)
Writing stuff in C... one thing I would like is an error return keyword. And the ability to set how you'd like unhanded errors to be dealt with. Like unhanded error means program aborts. Let the programmer decide how sloppy he wants to be.
Can I write a generic data structure? No. You have to cast from interface{}.
Java 1.4.2 is dead, and rightly so.
And manual error checking? No. Get that garbage out of my control flow. I'm not going to a language that has worse error handling than C. At least in C you can factor it out.