News for hackers. Stuff that matters.
Re:The Principles of Versioning in Go by kortex on Tuesday December 03, 2019 @10:33PM (#21699366)
Except you have things like `sed` and `cut` and `cat`, not `lpd` which solely exists to add leftwise filler characters. Ergonomics of those tools nonwithstanding, they are simple but they aren't TOO simple.

Left-pad is IMHO "too simple". Packages on the median should be in a 1-2 pizza team effort with some ongoing maintenance, even if only a few pizzas a year. Left-pad is like, 2 pizzas and a weekend.

(were it not for string.prototype methods) a viable package would be something on the order of Python's str.format(). Can left pad and right pad!

Re:The Principles of Versioning in Go by samatman on Tuesday December 03, 2019 @11:58PM (#21699719)
Unix notoriously has the command `yes`, which provides an infinite loop of `y\n`.

Don't have a strong opinion on whether left-pad should exist or not (or indeed, if server-side Javascript should exist or not), but simpler than left-pad, is yes? yes.

Re:The Principles of Versioning in Go by iudqnolq on Wednesday December 04, 2019 @11:39PM (#21710033)
Having a basic building block that enables a lot is different from making every tiny problem it's own package. Yes is a exception, certainly, but it doesn't disprove the rule.