News for hackers. Stuff that matters.
Re:How the Fuck Did We Get Here? by phailhaus on Friday April 07, 2023 @05:29PM (#35487209)
> The number of broken packages that don’t adapt to newer versions of other packages or that don’t work anymore by doing nothing is absolutely unbelievable.

No it's not. It costs nothing to not write defensively, especially in an untyped language. This can easily be an article about Python as well.

Re:How the Fuck Did We Get Here? by Gehinnn on Friday April 07, 2023 @05:37PM (#35487307)
I'd say its less about writing defensively (protecting yourself against libraries who don't deliver what they promised) and more about users making stronger assumptions than what the library promised (eg assuming json string literals contain no escaped characters so that a simple ". *?" to match the value is fine, that some value is always defined or generally that a behavior observed two out of two times must be the rule).