4 ms·
> Whenever I catch myself wondering whether this function I’m writing is going to crash or not, I remind myself to just run the tests or the app. The terminal a
by qznc 7y ago
> Whenever I catch myself wondering whether this function I’m writing is going to crash or not, I remind myself to just run the tests or the app. The terminal and the browser will always have the answer.
This is not generally true. It works if you program for fun. It does not work on critical software. It works for more programming projects than it should.
- ThalesX 7y agoWhen I was a junior, I was trying to debug a piece of software. I was attaching my .NET debugger to the thing and just running line by line like a madman trying to catch a race condition. The technical team lead had a sit down with me where we just inspected the functions and reasoned about them. It was eye opening just how fast we found the fault and the understanding I had after actually reasoning about the system.