News for hackers. Stuff that matters.
Re:I wasted weeks hand optimizing assembly because I benchma... by BigJ1211 on Friday July 25, 2025 @05:19AM (#44681230)
This is why I strongly adhere to WET¹, you discover so much about the domain the first time you write something. By the time you have it 'working' you realize you should've written vastly different code to solve or cut-off edge cases.

That's why these days I just start writing code, get it to 'it works!' level. To then throw it all away and start again. Takes a little more effort, but the payoff is far less problematic code and tech debt.

¹: Write Everything Twice

Re:I wasted weeks hand optimizing assembly because I benchma... by wizzwizz4 on Friday July 25, 2025 @06:21AM (#44681599)
Don't do WET with your entire system, though, or you're likely to end up with the Second System Effect.
Re:I wasted weeks hand optimizing assembly because I benchma... by MathMonkeyMan on Friday July 25, 2025 @10:47AM (#44683768)
I think the idea is you never release the first version.