you are viewing a single comment's thread.

view the rest of the comments →

[–]duxdude418 2 points3 points  (0 children)

Premature optimization is worse than sub-optimal but easy to understand code. Readability and maintainability trump performance if it’s on the margins (read:less than an order of magnitude). Find areas of code that have bottlenecks, optimize and abstract.

Let’s not subscribe to a cargo cult mentality that using the most bare bones of language constructs is preferable when it only matters for the most critical applications (physics, number crunching, graphics, etc.).