Re:TypeScript Is Surprisingly OK for Compilers
by jitl on Friday August 18, 2023 @07:41AM
(#37174331)
Go has exceptions: you can use `panic` to throw/catch just fine. The community will bring out the torch and pitchforks because it’s “not idiomatic” but if you’re programming solo or with other pragmatists don’t let it stop you.
[ Parent
| on HN ]
Re:TypeScript Is Surprisingly OK for Compilers
by madeofpalk on Friday August 18, 2023 @11:41AM
(#37177187)
Or just pass pointers because you need optionality, and get null pointer exceptions for free :)