News for hackers. Stuff that matters.
Re:Today’s Javascript, from an outsider’s perspective by thrwaway69 on Tuesday May 26, 2020 @03:26AM (#23308340)
Can you give some examples?
Re:Today’s Javascript, from an outsider’s perspective by stephenr on Tuesday May 26, 2020 @03:28AM (#23308347)
Examples of the WTFs or examples of other projects I was able to work on with little experience?
Re:Today’s Javascript, from an outsider’s perspective by kinsho on Tuesday May 26, 2020 @03:39AM (#23308410)
The WTFs
Re:Today’s Javascript, from an outsider’s perspective by quickthrower2 on Tuesday May 26, 2020 @04:36AM (#23308686)
The biggest WTF for me is you want to solve problem X. Great someone has written some code in a library to solve X. You want to understand it. Cool, let's look at the source. It uses source transpiler #2 of the big 4, bundler #1 of the big 5, ui library #33 of the big 50, and oh yeah it uses proxies to make everything return a promise so g'luck debugging that.
Re:Today’s Javascript, from an outsider’s perspective by fit2rule on Tuesday May 26, 2020 @05:59AM (#23309117)
>left-pad

That is all.

Re:Today’s Javascript, from an outsider’s perspective by thrwaway69 on Tuesday May 26, 2020 @06:52AM (#23309494)
Did you ever search has or is prefix on npm?

You are in for a treat.

Re:Today’s Javascript, from an outsider’s perspective by fit2rule on Tuesday May 26, 2020 @09:18AM (#23310733)
Yeah, its just not something I believe I should be promoting, as a developer, as a solution to anything.

Its like .. Sure, meth might be fun, but I definitely don't think I wanna hang out when all the people in the room are doing it.