News for hackers. Stuff that matters.
Re:Karpathy on Programming by simonw on Monday December 29, 2025 @07:23PM (#46427917)
One of my personal rules for automated test suites is that my tests should fail if one of the libraries I'm using changes in a way that breaks my features.

Makes upgrading dependencies so much less painful!

Re:Karpathy on Programming by oulipo2 on Tuesday December 30, 2025 @04:42AM (#46431364)
Of course, but this is largely unmaintainable, shifting the responsibility of correctness check from libraries to users. That's why we modularize/abstract/simplify, in order to minimize the need for actual checks