4 ms·
Oh, that reminded me of my "two lines" moment. Years ago I was writing software for some university project, and one feature took me a few days to figure out an
by arnvald 6y ago
Oh, that reminded me of my "two lines" moment. Years ago I was writing software for some university project, and one feature took me a few days to figure out and implement, and when I checked the diff I realized that "all" it took was removing some 20 lines of code. I literally added a feature by removing some constraints that I had previously introduced.
- zdw 6y agoDeleting code is giving your future self a gift of not having to maintain that code anymore.
- Scramblejams 6y agoYes, I like to say it as "A line of code deleted is a line of code debugged."