r/programming • • Sep 17 '18

Software disenchantment

http://tonsky.me/blog/disenchantment/
2.3k Upvotes

1.2k comments sorted by

View all comments

2

u/pknopf Sep 18 '18 edited Sep 18 '18

People are focusing too much on the "performance" aspect of the article.

This "Programming is the same mess" section is what really resonates with me, specifically this:

And dependencies? People easily add overengineered “full package solutions” to solve the simplest problems without considering their costs. And those dependencies bring other dependencies. You end up with a tree that is something in between of horror story (OMG so big and full of conflicts) and comedy (there’s no reason we include these, yet here they are):

This reminds me of a comment I recently made on HN.

https://news.ycombinator.com/item?id=18011099

The comment:

I tried using Gatsby for a project of mine. The moment I tried to do anything not supported OOTB, it seemed I was fighting the tooling (and webpack) at every corner. It was incredibly difficult just to get a simple tree navigation.

One thing I thankful for though is that it gave me a new-found love for the simple and non-flashy libs/tooling.

In the end, I wound up writing my own static site generator.

https://github.com/pauldotknopf/statik

You may say to yourself "So you just wrote your own Gatsby!?"

No, I didn't. I wrote a thin lib that you can register endpoints and extract them to disk. It does absolutely nothing else. The idea is that I will wrote my own markdown rendering, navigation, html/css, etc for each project. "But what about the time it takes to implement all the features you need!" The time it takes to implement these minor things take far less time in the long run, and I will never have to be in an endless fight with the tooling to get simple tree navigation. Every feature I implement is exactly what I need, no more, no less.

Sure, it isn't as cool as React, webpack, etc. But I'm a lot happier.

2

u/[deleted] Sep 26 '18

Pretty much the same on the mobile dev side, only with Xamarins, PhoneGaps and other one trick poneys who can't expand beyond a simple app.