Remix.run Logo
hnlmorg 10 hours ago

But the problem is literally a direct result of language wart.

The nullable pointer you’ve given is another great example of language wart. And one that’s often highlighted as a specific criticism against Go lang.

quotemstr 10 hours ago | parent [-]

No, the problem is a result of sloppy thinking --- or no thinking --- about function contracts.

hnlmorg 10 hours ago | parent [-]

Humans error. The point of programming languages is to provide an abstraction to make development faster and less error prone than writing stuff in lower level languages or even assembly.

If your language requires you to manually track function contracts then that’s a problem with the language itself. Not the developer.