▲ 1 ▼ Jev-Leftpad (github.com) submitted 2 weeks ago by rssbot@lemmy.bestiver.se [M, B] to c/hackernews@lemmy.bestiver.se 5 comments fedilink hide all child comments Comments
[–] kaageej@lemmy.world 2 points 2 weeks ago (3 children) I think he tried to do a funny? Related: https://en.wikipedia.org/wiki/Npm_left-pad_incident permalink fedilink source parent hideshow 3 child comments replies: [–] artwork@lemmy.world 2 points 2 weeks ago (2 children) I see! Thank you very much! Holy smokes... I had no idea... Though, I still abhor the "AI" involved, the NPM package itself is a dear nonsense... There's dear String.padStart in the most of JavaScript engines! permalink fedilink source parent hideshow 2 child comments replies: [–] kaageej@lemmy.world 2 points 2 weeks ago (1 child) That feature wouldn't come to JavaScript for another couple of years if I recall correctly. There was a "legit" use case for leftpad... Crazy as it may be. permalink fedilink source parent hideshow 1 child comment replies: [–] artwork@lemmy.world 1 point 2 weeks ago At this point, it must be related to the following case when some crucial functionality was missing, too: - https://youmightnotneedjquery.com/ permalink fedilink source parent
[–] artwork@lemmy.world 2 points 2 weeks ago (2 children) I see! Thank you very much! Holy smokes... I had no idea... Though, I still abhor the "AI" involved, the NPM package itself is a dear nonsense... There's dear String.padStart in the most of JavaScript engines! permalink fedilink source parent hideshow 2 child comments replies: [–] kaageej@lemmy.world 2 points 2 weeks ago (1 child) That feature wouldn't come to JavaScript for another couple of years if I recall correctly. There was a "legit" use case for leftpad... Crazy as it may be. permalink fedilink source parent hideshow 1 child comment replies: [–] artwork@lemmy.world 1 point 2 weeks ago At this point, it must be related to the following case when some crucial functionality was missing, too: - https://youmightnotneedjquery.com/ permalink fedilink source parent
[–] kaageej@lemmy.world 2 points 2 weeks ago (1 child) That feature wouldn't come to JavaScript for another couple of years if I recall correctly. There was a "legit" use case for leftpad... Crazy as it may be. permalink fedilink source parent hideshow 1 child comment replies: [–] artwork@lemmy.world 1 point 2 weeks ago At this point, it must be related to the following case when some crucial functionality was missing, too: - https://youmightnotneedjquery.com/ permalink fedilink source parent
[–] artwork@lemmy.world 1 point 2 weeks ago At this point, it must be related to the following case when some crucial functionality was missing, too: - https://youmightnotneedjquery.com/ permalink fedilink source parent