Bet you never expected to see that title. But it’s true, and it also applies to my other passion: design, but that made the title too long. So without further ado, here is what programming has taught me about fashion.
1. Less is More
I have heard this quote numerous times over the years: “The real hero of programming is the one who writes negative code.” It refers to an incident with Bill Atkinson in 1982. The project managers demanded a daily report of how much code had been produced. Bill submitted “-2000 lines” since he had removed code in order to make the program run faster. The point of this story is that in programming the best programs are as simple and concise as possible. They are the easiest to maintain, the most flexible to use and the most elegant to read, and they are usually just as (if not more) powerful than their more complicated counterparts.
The same concept applies to fashion, in my humble opinion. The smaller and simpler your wardrobe, the easier it is to maintain and get dressed in the morning. Also since it’s so curated it often makes a bigger impact than a larger, but more scattered, wardrobe.
2. Make a Plan
A lot of time programming is spent just thinking through the problem. Even though errors are no longer as time consuming or as costly as they were back in the days of punch cards, it’s still important to think through a problem abstractly with a pencil and paper first. This can be difficult when all you really want to do is start building something and to see results ASAP.
It’s the same story when it comes to our wardrobes. Oftentimes we want to just get right to the fun part: SHOPPING! There’s just something about the instant gratification of seeing all those shiny new things hanging in your closet. However, it’s important to plan, strategize and minimize first in order to avoid costly and time consuming errors later. Not exactly as sexy and fun as whipping out the plastic right? If you don’t have a game plan yet, definitely check out the steps that I use to take inventory and make a shopping strategy.
3. Trends Come and Go, but Classics are Forever
Any programmer worth their salt needs to know the basics, and while these techniques and languages aren’t exactly sexy, they are reliable and have proven their versatility over the years. For every job, there’s an appropriate solution, and it often isn’t the hottest new technology. In the same way 80% of your wardrobe should be classics and basics that feel like a second skin and have proven their versatility over the years. When in doubt, I almost always reach for my classic pieces instead of the current trend.
4. Global Variables are the Worst
When you are learning to code you will have global variables everywhere, it’s all part of the learning curve. Eventually you learn to package everything away in modules and objects (my poison of choice) and realize that it’s better if all of your variables are local in order to avoid side effects.
Your closet should also have modules, groups of clothes that all mix and match well with each other and other modules. Beware that one global variable that doesn’t belong to any module, which in my case were a pair of rainbow pumps I bought on a whim. Although they might seem like a quick solution to your wardobe doldrums, realize that they are more trouble than they are worth and let them go.
5. The Devil is in the Details
I’m looking at you, asshats who don’t comment on your code. It’s the little things like commenting your code, documenting functions, using indents correctly, and naming variables reasonably that give me a much better impression of you as a person (and a coder).
The same principle applies to clothing as well. It’s the little details that matter such as having brass buttons instead of plastic, sending clothing to the tailor to make sure it fits, hemming pants to the correct length, tossing out white shirts once they get pit stains, and cleaning your clothes according to the instructions so it doesn’t look dingy. All of the little things that summed together make me think, “What a class act” instead of “oh my god what kind of slob put this together?”.
6. Do it Once, Do it Right
The principle behind this is really quite simple. A programmer attempts to save time by using a quick and dirty hack. In reality, you can’t reduce the amount of time it takes to write a program, you just postpone it. That time saved with a hack will be taken back by constantly having to fix and maintain that crappy code, instead of quality code which will just purr along until it needs an upgrade much later.
Similarly, people often try to save time and money on their wardrobe by buying cheap clothes, skipping wardrobe planning, or constantly buying new clothes to “fix” their wardrobe. In reality the cheap clothes constantly fall apart, you’re missing essential pieces, and your wardrobe is overflowing with clothes that don’t go together. So take the time now to do it once and do it right by planning your wardrobe, buying quality pieces, and caring for it correctly.
These are some of my observations, and while I’m guilty of a few of these (hello quick hacks and un-hemmed pants!) overall I feel like I’m doing pretty well. Any of my fellow coders have anything to add to this list? And am I the only person who takes rules of thumb and lessons from one of my interests and applies it to a completely different one?