News for hackers. Stuff that matters.
Re: I Built My Own Shitty Static Site Generator by xorcist on Monday November 30, 2020 @05:17AM (#25252357)
That analogy only stretches so far.

I'd much rather inherit a project that contains 'sprintf("%010d", i)', or equivalent, than one with yet another dependency. Especially when repeated a thousand times over the course on an entire project.

Every dependency is one that I must understand all the possible return types, failure modes, and upgrade paths. Every function is one that I must read. The needle must be quite clearly on the benefits side in order to be worth it.

There are no comments on this comment yet.