News for hackers. Stuff that matters.
Re:Some software bloat is OK by gwbas1c on Tuesday November 04, 2025 @02:18PM (#45814838)
What I once said to a less experienced developer in a code review is:

> Don't write stupid slow code

The context was that they wrote a double-lookup in a dictionary, and I was encouraging them to get into the habit of only doing a single lookup.

Naively, one could argue that I was proposing a premature optimization; but the point was that we should develop habits where we choose the more efficient route when it adds no cost to our workflow and keeps code just as readable.

There are no comments on this comment yet.