News for hackers. Stuff that matters.
Re:The problem with new URL(), and how URL.parse() fixes that by merrywhether on Monday May 20, 2024 @12:01PM (#40416933)
This is one of the reasons for the broad popularity of TypeScript, where “[specifying] in the contract of the function that it can return null” is foundational to the experience. Meanwhile thrown errors are unmodelable COMEFROM statements in TS and many other languages.

There are no comments on this comment yet.