Alex Anderson

Hard Stuff

January 23, 2019 Alex Anderson Programming


I read this tweet recently:

It's a great tweet, and she does indeed have a LOT of great tutorials (Thanks Tania!), but when I read that I thought to myself "I doubt she has a tutorial for me." I did my due diligence and checked her tutorials and I was correct. She has stuff talking about Promise.all with Async/Await, How to Use Local Storage with JavaScript, and Styling UI Components from Scratch, but none of those touched on the specific issue I was facing. The closest she came was The Three Types of Can't, but it didn't help me in the way I needed.

What is my issue? It isn't technical; it isn't operational. It is conceptual. That is, it deals with taking concepts and converting those concepts into code.

Sometimes, frameworks and libraries can make it easier to take those concepts and put them into the program. React, for example, has made it really easy to create user interfaces that update based on changes to state - a truly declarative UI. These frameworks are handy, but not every conceptual case can be easily translated to code.

My specific issue relates to my starship simulator controls, Thorium. To make it easier for the flight director to indicate to the crew specific actions which they need to perform as part of their simulation. These tasks must first be defined to say what actions can be performed, what values can be used as part of the task (which system to remove power from, or which type of damage control officer is needed for a repair team), and what criteria must be met for the task to be considered completed. It's complicated stuff and hurts my brain every time I have to work on it.

And that's the point. Yeah, there are some things that you can communicate with a tutorial, a cheat sheet, or a video series. But then there are other things that are too domain-specific or to involved to be able to generalize. Those that do manage to simplify something complex ends up becoming a superhero, but they have to tackle that complexity themselves at some point. Sometimes (most of the time, even), you have to beat your head against the wall. And even when you do figure it out, you wonder if you got it right. (This is why I have the greatest respect for people who design APIs for popular libraries and frameworks).

Programming is hard. Programming well is harder. Tutorials can get you far, but sometimes you just have to hunker down and figure it out. And that's why they pay us the big bucks.*

*PS: I'm looking for a job figuring this kind of hard stuff out. If you've got a place on your team for a fluent JavaScript Frontend developer thirsty to learn more and make great things, get in touch.

Like what you read? Subscribe to the newsletter to get notified about the nearly-weekly blog posts about tech, React, JavaScript, baking, spaceships, and more!

powered by TinyLetter

Alex Anderson is a husband, React web developer, Latter-day Saint, amateur rock climber, hobby chef, and spaceship enthusiast. He enjoys learning new things, teaching inspiring things, building cool things, and doing fun things.
  • built with ♡ by Alex Anderson
  • created with Gatsby
  • delivered by Netlify
  • photos by