|
holy lol https://github.com/azer/left-pad/blob/master/index.js
|
# ? Mar 23, 2016 06:52 |
|
|
# ? Jun 12, 2024 13:52 |
|
drat you missed out on being the cornerstone of an entire software ecosystem by like two years.
|
# ? Mar 23, 2016 06:56 |
|
im late to this whole brogrammer game i still write all my web dev stuff in boring old manual html, js, and css. we just inherited a project at work that used webpack and babel and its a spa so theres a whole frontend toolchain of uglify.js and source maps and i wasted my thursday and friday simply getting it to loving compile
|
# ? Mar 23, 2016 07:00 |
|
i'll make the guy fawkes video
|
# ? Mar 23, 2016 07:09 |
|
the overhead of creating and using an npm module is theoretically so low that they've always encouraging splitting everything into its own module. even libraries like lodash are also available as individual modules. i have a project that uses _.clamp exported to an individual module because sure, why not, this lovely language and its lack of a standard lib means i gotta get this function from somewhere and it's easier than copy-pasting and i don't need to pull in all of lodash just for it of course npm hosed up by making it possible to unpublish anything. they should do what mix does and give you an hour to unpublish/revert or what rubygems does and let you remove it from the searchable index but allow existing dependent packages to still install it
|
# ? Mar 23, 2016 07:16 |
|
i'm the pre-alpha version number
|
# ? Mar 23, 2016 07:16 |
|
did you guys see the comments on his blog announcement? where several biological adults are telling him he did the right thing? the survival of the web is in these people's hands
|
# ? Mar 23, 2016 07:23 |
|
Suspicious Dish posted:i wrote that last night i think you mean why doesn't the startard library save you from this dumb boilerplate
|
# ? Mar 23, 2016 07:44 |
|
a challenger appears!JavaScript code:
Gazpacho fucked around with this message at 08:01 on Mar 23, 2016 |
# ? Mar 23, 2016 07:45 |
|
Suspicious Dish posted:i wrote that last night bro get on the micro-library train, what if like every function was its own library (i see this idea every year or so, usually they propose identifying functions by hash or uuid or something)
|
# ? Mar 23, 2016 13:01 |
|
suffix posted:bro get on the micro-library train, what if like every function was its own library getting close to the unix philosophy yea
|
# ? Mar 23, 2016 19:49 |
|
suffix posted:usually they propose identifying functions by hash or uuid or something
|
# ? Mar 23, 2016 21:46 |
|
JawnV6 posted:that sounds complicated, just use strlen() for now img-captain-america
|
# ? Mar 23, 2016 21:57 |
|
if its not in jquery or knockout you probably don't need it
|
# ? Mar 23, 2016 22:07 |
|
|
# ? Mar 24, 2016 01:00 |
|
npm is such a great ecosystem you guys
|
# ? Mar 24, 2016 01:02 |
|
the code isn't that bad but obviously it need some kind of stackoverflow-like maturity engine i'm less upset about this one guy, than the throngs who are rushing to say that he "did the right thing", meaning any one of them is ready to go galt over hurt feelings Gazpacho fucked around with this message at 01:13 on Mar 24, 2016 |
# ? Mar 24, 2016 01:04 |
|
anyone can write good code. distributing and managing it with maturity is the test, and so much of the js ecosystem won't or can't. like underscore guy, who had a hissy fit over people suggesting that maybe his heavily used library should follow semver so he's not shipping backwards incompatible changes in minor version.
|
# ? Mar 24, 2016 04:06 |
|
lomarf
|
# ? Mar 24, 2016 04:08 |
|
Maluco Marinero posted:anyone can write good code. objection.
|
# ? Mar 24, 2016 04:33 |
|
Maluco Marinero posted:distributing and managing it with maturity is the test, and so much of the js ecosystem won't or can't. like underscore guy, who had a hissy fit over people suggesting that maybe his heavily used library should follow semver so he's not shipping backwards incompatible changes in minor version. but this is truth
|
# ? Mar 24, 2016 04:33 |
|
fritz posted:objection.
|
# ? Mar 24, 2016 04:36 |
|
Maluco Marinero posted:anyone can write good code. distributing and managing it with maturity is the test, and so much of the js ecosystem won't or can't. like underscore guy, who had a hissy fit over people suggesting that maybe his heavily used library should follow semver so he's not shipping backwards incompatible changes in minor version. the one thing I can't understand is why the lodash guy keeps trying to merge it and underscore together instead of just saying gently caress it and saying lodash is better, underscore is trash, let's move on with our lives. what does he gain out of this horrible arrangement trying to work with that guy?
|
# ? Mar 24, 2016 04:53 |
|
Kik posted the email chain and a response to the whole debacle in their own medium post: https://medium.com/@mproberts/a-discussion-about-the-breaking-of-the-internet-3d4d2a83aa4d Basically dude is a child.
|
# ? Mar 24, 2016 04:54 |
|
Stumpalitious posted:Kik posted the email chain and a response to the whole debacle in their own medium post: https://medium.com/@mproberts/a-discussion-about-the-breaking-of-the-internet-3d4d2a83aa4d holy poo poo hes a huge baby
|
# ? Mar 24, 2016 18:28 |
|
It seems a bit career limiting to throw such a visible temper tantrum.
|
# ? Mar 24, 2016 18:57 |
|
this one dude doesn't seem to be dealing well with the criticism: https://twitter.com/izs/status/712510512974716931 (see his other tweets in the thread)
|
# ? Mar 24, 2016 19:08 |
|
Symbolic Butt posted:this one dude doesn't seem to be dealing well with the criticism: https://twitter.com/izs/status/712510512974716931 he apparently retweeted something from the fake baldwin who's all about gamergate?
|
# ? Mar 24, 2016 19:10 |
|
homercles posted:It seems a bit career limiting to throw such a visible temper tantrum. otoh he's an autodidact and gently caress autodidacts
|
# ? Mar 24, 2016 20:57 |
|
I too can't get it hard unless I lay down some cold hard life truths on a hypothetical js autodidact fucktard come see live today the creation of tomorrow's industry dinosaurs
|
# ? Mar 24, 2016 21:30 |
|
How to clutter Hackage hackage.haskell.org 23 points submitted 9 hours ago by noteed22 commentssharesavehidereport http://hackage.haskell.org/package/ispositive
|
# ? Mar 24, 2016 21:46 |
|
Isn't testing if a number is an integer and positive in js just doing "(butt) => butt|0 == butt && butt > 0;"
piratepilates fucked around with this message at 21:53 on Mar 24, 2016 |
# ? Mar 24, 2016 21:50 |
|
jesus it's a perfectly legitimate thing to have in a javascript library. javascript likes to implicitly convert between types in sometimes surprising ways, and it has pitfalls like number vs Number and string vs String, so strict type-checking wrappers for common operators make a lot of sense. every time I wrote javascript I had to write stupid type-checking code that I didn't deem worth of a library (not that there were library loading/linking frameworks I could use), and these would have been a godsend, considering they're widely used and include unit tests and documentation yes, it's silly that a package has more metadata than code, but that's so very often the case in other languages too: lots of functions will be smaller than the combination of their documentation, unit tests, etc. if you wanted a larger package than just one or two function, what the hell would you call it anyway? "utils"? hackbunny fucked around with this message at 22:00 on Mar 24, 2016 |
# ? Mar 24, 2016 21:57 |
|
Gazpacho posted:if hypothetically we were hiring someone to write one-page JS modules and his resume landed on my desk, i might not necessarily toss it, but I'd make sure our engineering VP knew the story and got a chance to lecture him about the consequences he could face if he were to intentionally gently caress over us or our customers what's wrong with learning something on your own? doesn't every single programmer have to do that at least once a week
|
# ? Mar 24, 2016 21:59 |
|
hackbunny posted:jesus it's a perfectly legitimate thing to have in a javascript library. javascript likes to implicitly convert between types in sometimes surprising ways, and it has pitfalls like number vs Number and string vs String, so strict type-checking wrappers for common operators make a lot of sense. yes, it's silly that a package has more metadata than code, but that's so very often the case in other languages too: lots of functions will be smaller than the combination of their documentation, unit tests, etc. if you wanted a larger package than just one or two function, what the hell would you call it anyway? "utils"? "Standard Library"
|
# ? Mar 24, 2016 22:00 |
|
AWWNAW posted:what's wrong with learning something on your own? doesn't every single programmer have to do that at least once a week
|
# ? Mar 24, 2016 22:00 |
|
piratepilates posted:"Standard Library" with an estimated release date of around 2020 and estimated to be fully deployed by 2030?
|
# ? Mar 24, 2016 22:03 |
|
Gazpacho posted:an autodidact is someone who learns everything on their own, beep boop i m a dictionary what the gently caress are you on about
|
# ? Mar 24, 2016 22:04 |
|
Gazpacho posted:an autodidact is someone who learns everything on their own, beep boop i m a dictionary i guess i get what you're saying but i've worked with way more beep bop dictionary motherfuckers that had CS degrees than didn't
|
# ? Mar 24, 2016 22:04 |
|
|
# ? Jun 12, 2024 13:52 |
|
is a cs degree the norm now?
|
# ? Mar 24, 2016 22:05 |