News for hackers. Stuff that matters.
Re:Everyone can write bad code by artimaeis on Thursday February 08, 2018 @01:25PM (#16334303)
To me #5 is talking about the myth that surrounds premature optimization. That is - this idea that thinking through data patterns (or other basic aspects of code) early on is a waste of time. It's usually not.

Making the choice to work with collections that can be accessed in O(log n) rather than O(n^2) is a trivial optimization.

Maybe you don't need to scope out every subroutine, but taking the time to review the basic performance features is something we can all strive to do.

There are no comments on this comment yet.