Earlier quoted context omitted.
These packages are basically memes at this point... Those download figures cannot be accurate for real production usage. I don't believe any programmer is actually using these. isarray and left-pad are at least functions that didn't used to be in the standard library, to slightly excuse them.
I would not bet on that assumption. I have seen some wild code over the years from devs. With 'ai' type coding going on now too you may see them be used even more.
My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
51–60 of 87 posts
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#52Earlier quoted context omitted.
The JavaScript world is littered with stuff comparing to which your patch seems like a complex project. See those examples: https://www.npmjs.com/package/is-odd https://www.npmjs.com/package/is-even https://www.npmjs.com/package/left-pad https://www.npmjs.com/package/is-whitespace-character https://www.npmjs.com/package/isarray
These packages are basically memes at this point... Those download figures cannot be accurate for real production usage. I don't believe any programmer is actually using these. isarray and left-pad are at least functions that didn't used to be in the standard library, to slightly excuse them.
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#53Earlier quoted context omitted.
The JavaScript world is littered with stuff comparing to which your patch seems like a complex project. See those examples: https://www.npmjs.com/package/is-odd https://www.npmjs.com/package/is-even https://www.npmjs.com/package/left-pad https://www.npmjs.com/package/is-whitespace-character https://www.npmjs.com/package/isarray
These packages are basically memes at this point... Those download figures cannot be accurate for real production usage. I don't believe any programmer is actually using these. isarray and left-pad are at least functions that didn't used to be in the standard library, to slightly excuse them.
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#54Earlier quoted context omitted.
what a broken ecosystem.. The crazy thing is not that the package exists, but that it is used by JS devs.
I feel like I have to remind people of this quite often, but the history is such that npm was lightweight at one point, bundling wasn't a thing, and while `isodd`/`iseven` are of course silly, things like `isarray` were not functions that existed back then (we didn't have Array.isArray). `typeof [] === 'object'` in JS, so e.g. my package `is-arrayish` checked for a similar structure to an array (whereas Id guess `isa…
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#55Earlier quoted context omitted.
These packages are basically memes at this point... Those download figures cannot be accurate for real production usage. I don't believe any programmer is actually using these. isarray and left-pad are at least functions that didn't used to be in the standard library, to slightly excuse them.
I would not bet on that assumption. I have seen some wild code over the years from devs. With 'ai' type coding going on now too you may see them be used even more.
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#56Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#57Earlier quoted context omitted.
what a broken ecosystem.. The crazy thing is not that the package exists, but that it is used by JS devs.
I feel like I have to remind people of this quite often, but the history is such that npm was lightweight at one point, bundling wasn't a thing, and while `isodd`/`iseven` are of course silly, things like `isarray` were not functions that existed back then (we didn't have Array.isArray). `typeof [] === 'object'` in JS, so e.g. my package `is-arrayish` checked for a similar structure to an array (whereas Id guess `isa…
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#58Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#59Earlier quoted context omitted.
what a broken ecosystem.. The crazy thing is not that the package exists, but that it is used by JS devs.
I feel like I have to remind people of this quite often, but the history is such that npm was lightweight at one point, bundling wasn't a thing, and while `isodd`/`iseven` are of course silly, things like `isarray` were not functions that existed back then (we didn't have Array.isArray). `typeof [] === 'object'` in JS, so e.g. my package `is-arrayish` checked for a similar structure to an array (whereas Id guess `isa…
It’s a case of doing something without understanding why it’s done. Packages are good, code sharing is good, so use it for everything. But it misses why they’re good.
Re: My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
#60Earlier quoted context omitted.
The down vote was me - I really think calling deprecating a project after a decade+ telling the world 'depending on this project was a bad idea' is tone deaf.
I think it shows a complete misunderstanding on what free software is.
Deprecation is just a tag. You don't have to respect it. And if you want the project to continue, you can freely fork it.