Do you know what you optimize for?

twitter logo github logo ・1 min read

As developers, we spend a fair amount of time optimizing code.

However, we also spend a lot of time optimizing our behavior. Often we are unaware of this.

For example, if you choose to park close to the door when you drive to work, you are optimizing for something. If you choose to park at the back of the parking lot, you are optimizing for something else. You may not be aware of what you're optimizing for, though, and that's the point of this post. You might just be deciding on something without fully understanding why.

Try paying attention to one particular action you take that you normally do without thinking. What are you optimizing for when you do it? What could you optimize for?

twitter logo DISCUSS (1)
markdown guide

Also use this to identify areas you perhaps spend time where you shouldn't. Could you be doing the equivalent of parking in a disabled parking space, without realising it? Even though you just wanted to be close to the door.

Classic DEV Post from Mar 11

Enforcing Single Responsibility Principle in Python

Single Responsibility Principle (or SRP) is one of the most important concepts in software development. The main idea of this concept is: all pieces of software must have only a single responsibility.

Ben Overmyer profile image
Engineer specializing in DevOps, Go, and infrastructure automation.

Sore eyes? now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️