Hacker News new | past | comments | ask | show | jobs | submit login

> It's not pretty, but it's zero maintenance. I've been doing that for 10 years now, and I don't think I'd ever go back to a third-party dependency.

SSG is third-party dependency in one way.




It seems to me that a text editor is the same sort of dependency as a static site generator. Especially if you store the resulting site as rendered.


Comparing the complexity of operating and maintaining a SSG to using a simple text editor is just about the most HN comment I've ever read. My blog is written with Gatsby (which I use as a SSG), and about once per year I have to dedicate and entire weekend to troubleshoot because I can no longer run the SSG due to changes in the Node/npm ecosystem. There is absolutely no corollary to using a text editor. Literally nobody will have to spend a weekend figuring out "what do I have to do to get notepad to open a .html file with today's technology". Nobody! Notepad just opens the .html file, just like it opened the same file a year ago, or 10 years ago. No need to burn weekends over opening a file!


You can drop in whatever text editor you like though. It's only a dependency like saying a keyboard is a dependency to writing code. There will always be new editors or you can use a 40 year old one just fine too. Can't say the same about the static site generator though, maybe your setup works when you swap one generator for another maybe it doesn't.


I don’t think a text editor can be called a dependency when every computer in the last 30 years has shipped with one.

At the end of the day you have to pull in a SSG from elsewhere and run it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: