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 Nov 19 '18

The node_modules problem

Why node_modules is so heavy and can be done to solve it?

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