On Perfection

This is a bit of stream of consciousness with some light editing. I wrote it quickly on my iPad, so it’s pretty rough. It’s better than nothing though.

I’ve always thought of myself as a perfectionist especially when it comes to the code that I write and the projects that I work on. This tenancy can be useful since it has allowed me to dive deep into many topics, but it also limits my productivity. I’ve spent so much time learning how to model data and implement data access layer code that I never had the opportunity to build anything of consequence with what I learned. I know quite a lot about Java and the JVM, but it only comes in handy once in a while.

Factorio is one of my favorite games. It’s a game with a simple premise. You’re stuck on an alien planet and need to get off of it by building a factory which can ultimately produce a spaceship.

I found that the game perfectly captures many aspects of programming. One thing that it made me realize is the clear trade-off of doing something right versus a quick-and-dirty hack to just get some item in my factory on the production line.

I’ve noticed that I’m much more critical when reading code not written by me. I’ll give myself a pass because I had to get this code shipped today, or because I was focused on fixing the real problems. I like writing good code. Not necessarily because it has any concrete, intrinsic value, but because writing good code makes me a programmer. I do think that there are many advantages to my functional, OOP, data-oriented style.

It can be especially crippling when I have a deadline and perception that I’m unable to do things right. It’s oft said that the best is the enemy of the good, and that’s something that I truly struggle with. Why would I do something if I can’t do it my way — if I can’t do it perfectly? Obviously I’d do it because it needs to be done, but that’s not something I get motivation from. That’s not why I’m a programmer. I’m a programmer because I enjoy making things that work, with code that I can take pride in.

Posts from blogs I like

Pikmin 3: No Fruit, No Problem - 0 Fruit in 2h24m

Want to watch this in your video player of choice? Take this: https://cdn.xeiaso.net/file/christine-static/video/2024/pikmin-3-0-fruit/2/index.m3u8 Recently I saw @TheBacklogs do a Pikmin 3 challenge run where they collected 0 fruit to beat the game. I thought I could do better, so I beat it in 2 hours 24 minutes. Full run without commentary: https://youtu.be/nHFIn74-mLk @TheBacklogs' run: https://youtu.be/eSEUdgVX7o4 My website: https://xeiaso.net My Mastodon: …

via Xe Iaso's blog May 04, 2024

Copyleft licenses are not “restrictive”

One may observe an axis, or a “spectrum”, along which free and open source software licenses can be organized, where one end is “permissive” and the other end is “copyleft”. It is important to acknowledge, however, that though copyleft can be found at the opposite end of an axis with respect to permissive, it is not synonymous with the linguistic antonym of permissive – that is, copyleft licenses are not “restrictive” by comparison with permissive licenses. Aside: Free software is not synonymous with copyle…

via Drew DeVault's blog April 19, 2024

Airfoil

The dream of soaring in the sky like a bird has captivated the human mind for ages. Although many failed, some eventually succeeded in achieving that goal. These days we take air transportation for granted, but the physics of flight can still be puzzling. In this article we’ll investigate what makes airplanes fly by looking at the forces generated by the flow of air around the aircraft’s wings. More specifically, we’ll focus on the cross section of those wings to reveal the shape of an airfoil – you can see…

via Bartosz Ciechanowski February 27, 2024