|
carry on then posted:https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.eoksly1ls this is a stupid article and it makes tons of bad points along with the good ones
|
# ? Oct 19, 2016 20:32 |
|
|
# ? May 10, 2024 16:32 |
|
carry on then posted:https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.eoksly1ls lol
|
# ? Oct 19, 2016 20:36 |
|
i did a test last week that had a few "whats the correct syntax for this in javascript" questions like is it "if i != 5", "if (i != 5)", "if (i <> 5)" i always picked the java syntax cos hey its right in the name did i do right
|
# ? Oct 19, 2016 20:45 |
|
butthurt webdevs itt
|
# ? Oct 19, 2016 21:32 |
|
its got the async special sauce
|
# ? Oct 19, 2016 21:38 |
|
Bloody posted:async special sauce mods
|
# ? Oct 19, 2016 22:22 |
|
MALE SHOEGAZE posted:this is a stupid article and it makes tons of bad points along with the good ones
|
# ? Oct 19, 2016 22:49 |
|
if Node.js is so bad then why is it so popular, smart guy
|
# ? Oct 19, 2016 23:28 |
|
e. ehhh OldAlias fucked around with this message at 23:39 on Oct 19, 2016 |
# ? Oct 19, 2016 23:33 |
|
more like, experience with front-end "developers" who hack a dozen frameworks but then throw up their hands at 100 lines of direct JS, have shown me its accuracy i would have taken a job anywhere to get within interviewing distance of microsoft & have no regrets
|
# ? Oct 19, 2016 23:39 |
|
apologies, stressed and sick, was a misdirection. but the article is a ridiculous strawman that only reaffirms negative opinion of the technology without saying anything valuable
|
# ? Oct 19, 2016 23:46 |
|
web dave
|
# ? Oct 19, 2016 23:53 |
|
Gazpacho posted:looks p. accurate 2 me in regards to web "developers" who can't tie their shoes without a framework they could write their own but it would be riddled with browser compatibility errors, accessibility issues, security holes, and display port issues. you need a framework so that you don't have to memorize thousands of special cases just to make a button that works the same for everyone
|
# ? Oct 20, 2016 00:24 |
|
theres a pretty big difference between using a framework because it solves portability issues that you currently have, and using one because you literally have no idea what the heck is going on with javascript
|
# ? Oct 20, 2016 00:49 |
|
MALE SHOEGAZE posted:they could write their own but it would be riddled with browser compatibility errors, accessibility issues, security holes, and display port issues. you need a framework so that you don't have to memorize thousands of special cases just to make a button that works the same for everyone
|
# ? Oct 20, 2016 01:03 |
|
Gazpacho posted:theres a pretty big difference between using a framework because it solves portability issues that you currently have, and using one because you literally have no idea what the heck is going on with javascript Gazpacho posted:theres a pretty big difference between using a framework because it solves portability issues that you currently have, and using one because you literally have no idea what the heck is going on with javascript I present to you a dream of a future where nobody has any reason to know JavaScript that dream is already a reality for many devs today
|
# ? Oct 20, 2016 01:43 |
|
Zamujasa posted:remember back when a button was just a <button>
|
# ? Oct 20, 2016 02:39 |
|
MALE SHOEGAZE posted:I present to you a dream of a future where nobody has any reason to know JavaScript
|
# ? Oct 20, 2016 03:05 |
|
Gazpacho posted:A kid transfers into a class from another elementary school. The teacher asks him if he can read and write. The kid says "I can write but I can't read." So the teacher dictates something for him to write, then looks at the page and says "what is this?" The kid says "I don't know, I told you I can't read " yeah, but we're talking about web pages here,
|
# ? Oct 20, 2016 03:14 |
|
node.js is fine
|
# ? Oct 20, 2016 03:18 |
|
Gazpacho posted:A kid transfers into a class from another elementary school. The teacher asks him if he can read and write. The kid says "I can write but I can't read." So the teacher dictates something for him to write, then looks at the page and says "what is this?" The kid says "I don't know, I told you I can't read " This was a good larf. I am glad our front-end developers stray from node but they're dangerously close to getting there.
|
# ? Oct 20, 2016 03:23 |
|
we ended up hiring three node jockeys who made a bunch of micro services using roughly three thousand frameworks of which half are no longer maintained. after a year they moved on to more cutting edge things (I suppose) and quit their code, however, lives on in infamy it's not because it's bad code it's just that node.js with it's myriad of fast moving frameworks is really hard to maintain if you don't standardize ymmv we still do micro services, we still sometimes do them in node.js, it's quick to get started and it's a nightmare for someone else to maintain
|
# ? Oct 20, 2016 05:35 |
|
master of the sea posted:micro services ... in node.js
|
# ? Oct 20, 2016 05:46 |
|
jony ive aces posted:<input type="button"> <input type="submit"> would be more needs suiting for most people but why do that when you can do <span class="janky-js-button" data:fart="{'butt':'fart'}">click me</span> or whatever the javascript version is master of the sea posted:node.js you can't spell node without no
|
# ? Oct 20, 2016 07:55 |
|
yeah i literally forgot that it was submit, it's been a while then i remembered it after posting and edited it, but then i found out button was kind of a thing as well and edited it back for some reason
|
# ? Oct 20, 2016 09:09 |
|
MALE SHOEGAZE posted:they could write their own but it would be riddled with browser compatibility errors, accessibility issues, security holes, and display port issues. you need a framework so that you don't have to memorize thousands of special cases just to make a button that works the same for everyone oh no if i don't use the latest javacript thing then this dumb button will be 1 pixel further away from the other stupid button on internet explorer 9, what a catastrophe
|
# ? Oct 20, 2016 10:11 |
|
I remember when the purpose of web development was to poo poo out some html for web browsers to render.
|
# ? Oct 20, 2016 17:18 |
|
master of the sea posted:it's quick to get started and it's a nightmare for someone else to maintain this is what im discovering also typescript is good
|
# ? Oct 20, 2016 17:45 |
|
quote:If there's one thing web developers love, it's knowing better than conventional wisdom, but conventional wisdom is conventional for a reason: that poo poo works. Something's been bothering me for a while about this node.js nonsense, but I never took the time to figure it out until I read this butthurt post from Ryan Dahl, Node's creator. I was going to shrug it off as just another jackass who whines because Unix is hard. But, like a police officer who senses that something isn't quite right about the family in a minivan he just pulled over and discovers fifty kilos of black horse heroin in the back, I thought that something wasn't quite right about this guy's aw-shucks sob story, and that maybe, just maybe, he has no idea what he is doing, and has been writing code unchecked for years.
|
# ? Oct 20, 2016 17:54 |
|
drat
|
# ? Oct 20, 2016 18:21 |
|
node.js is javascript but on the server. its really bad and stupid, op
|
# ? Oct 20, 2016 18:22 |
|
Winkle-Daddy posted:
lmfao now i'm *really* glad i never picked this poo poo up
|
# ? Oct 20, 2016 18:55 |
|
php has its own web server but at least they say "this is for development only please dont be stupid"quote:Warning
|
# ? Oct 20, 2016 18:58 |
|
OK I have to be the dummy and ask, if it takes 5 seconds to serve a single request, how would using a different programming language from javascript suddenly make it possible to serve more than 0.2 requests per second other than multiplying by the number of cores you have I guess
|
# ? Oct 20, 2016 22:56 |
|
qntm posted:OK I have to be the dummy and ask, if it takes 5 seconds to serve a single request, how would using a different programming language from javascript suddenly make it possible to serve more than 0.2 requests per second Gazpacho fucked around with this message at 23:19 on Oct 20, 2016 |
# ? Oct 20, 2016 23:16 |
|
Gazpacho posted:nodejs is based on cooperative threading, so number crunching on one thread can bog the whole process. any other language that schedules tasks on system processes or threads would benefit fromt he system's ability to timeslice but how does time slicing, i.e. interspersing the work for one request with work for other requests and work for other tasks, make it take less than 5 seconds to crunch the numbers for any single request, let alone less than 5 seconds on average
|
# ? Oct 20, 2016 23:25 |
|
the server should at least be able to schedule the number crunching during network/disk waits of other requests. in the given scenario node.js wouldn't even do that
|
# ? Oct 20, 2016 23:57 |
|
the idea is that, in the vast majority of cases, you are going to be IO bound, and whatever CPU time your lovely web application is using isn't going to even be fractionally comparable to the amount of time you're waiting on disk -- in that case, something like node (and, wait for it, nginx) is going to be a lot more performant because it can schedule IO tasks without having to spawn threads for every single request.
GenJoe fucked around with this message at 00:12 on Oct 21, 2016 |
# ? Oct 21, 2016 00:10 |
|
i have a web application built on node, and it's reversed proxied thru nginx because having node being its own production server is single-threaded shitheap. that's my story bye
|
# ? Oct 21, 2016 00:14 |
|
|
# ? May 10, 2024 16:32 |
|
GenJoe posted:wait for it, nginx
|
# ? Oct 21, 2016 00:15 |