For people who enjoy the controlled flight into terrain that is the modern Javascript ecosystem, here's a "postmortem" on another one-function Javascript "library" like left-pad that broke everyone's build:https://medium.com/@forbeslindesay/is-promise-post-mortem-cab807f18dcc …
-
-
Wtf just one function!?
-
This Tweet is unavailable.
- Show replies
New conversation -
-
-
I feel like there was this big "you need to have made or contributed to an open-source project" requirement to get a job that made web programmers publish every little thing they ever made
-
That may explain why someone posts it, but it doesn't explain why everyone _uses_ it.
- Show replies
New conversation -
-
-
Someone should contribute a no-function library called "noop.js" just for a piss take.
-
We should totally do this, and see how many people use it if we write a Medium article claiming it is a "best practices" to import noop...
- Show replies
New conversation -
-
-
One function with 3 lines?? The whole repository feels wasteful. gist is a better place for it. Let people copy&pasta the function..
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
don't forget the 6000 unit tests
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The key thing you're missing is that lines of code != complexity of problem. This repository frequently gets people submitting changes that they think are perf improvements or simplifications, but that actually introduce bugs.
-
It also has a type definition that has gone through 3 iterations to get to the right point. Many developers have contributed to building this into something you can rely on. If you build it yourself, you have to discover all the edge cases yourself.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.