News for hackers. Stuff that matters.
Re:Absolute truths I unlearned as junior developer by crankylinuxuser on Friday June 07, 2019 @11:31AM (#20125554)
Thats also a reason I will include as a comment the unoptimized code with comments whenever I do optimized crazycode.

That way, I can understand what is actually being done. And I can then re-analyze why I did the shortcuts to get to optimization.

But 99% of the time, we dont need to optimize. CPU/RAM is cheap. But those 1% of the times when you're going from N^2 to N^logN ... Welll.....

Re:Absolute truths I unlearned as junior developer by CuriouslyC on Friday June 07, 2019 @12:18PM (#20126124)
Did you mean N*logN? I don't think going to N^logN is what you want ;)
Re:Absolute truths I unlearned as junior developer by crankylinuxuser on Friday June 07, 2019 @02:16PM (#20127246)
Sigh, yep!

Thats what I get for trying to type it on a phone browser!