Why the fuck is the "developer" community so obsessed with JavaScript? Like NodeJS, ReactJS...

Why the fuck is the "developer" community so obsessed with JavaScript? Like NodeJS, ReactJS, and all these shitty "JavaScript frameworks".

Other urls found in this thread:

dreamsongs.com/WorseIsBetter.html
twitter.com/NSFWRedditImage

There are a lot of "developers" who only know JavaScript.

Because it's the language of the future, if you want to be left in the dust, then by all means stick to C.

I dont know either why they forcing this stupid language (JavaScript).
Would be better if they forcing LUA (or something sort of C-Script) instead of JavaScript for "Web's things" that could be more better.

>Shitty script lang for browsers is the lang of the future

Top kek

WebAssembly will replace it.

Stay mad as I get hired for more money to do silly react redux implementations even though I have zero design skills

>yfw shitty script language jobs pay 100K+ while your average C autist keeps living in his mother's basement
Really activates your almonds.

This and how to copy and paste from Github and make minor alterations.

because there is still lots of $$$$ to be made in making web sites and web applications

You know that v8 makes this shitty language really really fast and usable for serious projects? Oh no, because you are dumb pedophile neckbeards that only browses Sup Forums to shitpost and post dumb anime pictures

>100k+ or autism
i'll go with autism

Looks like I trigger some shills kek

Cry more, I can't wait to webassembly replace that js shit

>Really activates your almonds.

kill yourself back to

No, actually no trigger. I am a C-tard myself.
There just have to be reasons why 1. javascript is so popular and 2. why javascript jobs get paid so good.
You know this demand and supply thingy from school?

Stay mad, autistic piece of garbage.

>he doesn't activate his almonds

JS isn't going anywhere
dreamsongs.com/WorseIsBetter.html

>fast

It is just something momentary. I'm saying that is NOT the "lang of future"

It is just a shitty script lang for browser what is popular right now

I hope to god that it will.

>Sup Forums the post

>I was sitting out on the Lucid porch with some of the hackers, and someone asked me why I thought people believed C and Unix were better than Lisp. I jokingly answered, "because, well, worse is better." We laughed over it for a while as I tried to make up an argument for why something clearly lousy could be good.
Just another delusional Lisp dinosaur.

>LUA
lua is way worse than js

a year or two ago i absolutely hated javascript. i would go into job interviews and tell them "i only want to work with statically typed languages." a lot of them got pretty angry with me and started trying to argue why JS is better than java.

i decided to just learn it since it's so widely used anyways. i figured it couldn't be avoided. once you learn it pretty well, it's actually pretty fun to write. i use it for all my hobby projects now. it's great for prototyping and middle tier web development.

>it's actually pretty fun to write

lol no

why not? dynamic, loose typing and loose syntax is nice. you don't have to be very precise. just write shit out real quick and run it. promises are fun too, and it's fun to learn new frameworks and libraries in the npm ecosystem.

Except it doesnt make it fast. It's still garbage tier

Because, thanks to V8, JS os faster than Java.

Also, better language for asynchronous operations.

good ones

"developers" love the quote

At least someone has sense.


-f the founder

We're moving toward hosted applications that have smooth native like transitions and display real-time data changes. No more installing locally. JavaScript has been patched to shit in order to accomplish this. Blame Mozilla for it being the only option.

uh no that's not true

it's faster than any other scripting language though

Why?

1-based indexing

Is that the only argument?
Then just fork the language to make it 0 indexed.

Accessing undeclared variables automatically instantiates them in the global scope and assigns nil.

Weak, dynamic typing is awful, it means errors that could otherwise be caught only occur at run time several calls removed from where the actual problem lies. Opting in to opaque runtime errors is senseless.

>Accessing undeclared variables
why would you do this?

Javascript is a horrible language and node never should of happened. It was born only because some front end dev were too lazy to learn a good backend language.

That alone should tell you everything you need to know about node developers.

because it just werks. but of course it's shit without typescript. my friend has to figure out a medium-sized electron js project at work and this shit is absolutely fucking unreadable without type annotations

v8 is pretty fast but still not nearly as fast as java

Because of a typo.

>dynamic, loose typing and loose syntax is nice.
So many languages do that better than javascript. If you only ever worked with c/c++/java before then I can see why you think js is an improvement, but believe me. Ruby, Python, Crystal, etc are all much better.

of course it can cause errors but it allows you to write code faster. that's the point. it's for prototyping and web stuff, not for mission critical code.

yes but none of them have the backing that JS has. ruby is ded, python is only used for machine learning and django, crystal is literally who.

Dis

keep in mind these tests are run on a quad core cpu, and nodejs doesnt let easily let you do multithreading

Because theyre not pajeets who only do C

why is it using 4 cores for mandelbrot then??

do you even know what WebAssembly is for? it isn't, and was never intended to be, a replacement for JavaScript.

Node lowers the barrier to get from front-end to back-end. This lets companies save alot of money.

I was never in the hype train, so this is probably the closest reasonable answer.

For a background, I was only taught Java and some C in college.
I taught myself everything I know about NodeJS a year before graduation (along with a couple other languages), because I got worried that the curriculum was insufficient.

Plainly put, NodeJS just makes sense. You don't have to establish/set up language constructs to do something basic. You can guess what to do in your code without having to check the docs every couple minutes. Returns are obvious, casting is minimal, and since everything is an object, manipulating data between complex functions is still very simple.
I've heard people don't like the callback mechanism, which is understandable, but for someone who never understood/heard of it before learning the language, I really like it.

That's an intentionally milquetoast position statement from the designers to come off less bold and threatening to webdevs already entrenched in javascript. Anyone who knows what wasm is and where it's going can read the writing on the wall. Once they specify an api for garbage collection any language is fair game for client-side browser programming and browser vendors won't bother to maintain a separate scripting engine just for javascript. Webdevs will abandon javascript for whatever the next fad language is because they have no attention span.

>imma just code my webapp in assembly
topkek how delusional are they?

>imma just code my android app in JVM bytecode
this is how retarded you sound

my guess is that due to the highly parallel nature of mandelbrot Node is able to utilise its C/C++ layer as opposed to being limited to single threaded Javascript. as for why it still appears slower in that benchmark, i don't know.

>JVM
Java?
lol

...WebAssembly isn't an actual assembly language, it's an intermediate target for other languages' compilers.

wasm won't replace js because it's not supposed to lmao

lmao

It's actually trivial if you know http requests.
As long as you don't need javascript for client side computations you can fully write a webapp in any compiled to machine code language provided you can interface with the OS and network. Eg: libc and socket's

maybe in your ideal world that would be true. back in reality, it will take a long time for Javascript to be replaced completely. the real goal will be to shit out web apps mostly in JS and speed up the slow parts with wasm. i can't say i'm not sympathetic to your ideals, but you're out of your mind if you think C++/Rust will kill JS anytime soon. Wasm is looking at extending to include other languages at some point, but once again, that will take time. JS will be around longer than you think.

It's easy to grasp and allows you to write sloppy code that just werks.

I'm biased because I really do not like the syntax; I tried and tried to put up with it but it makes me want to hurl every time I see it. Still..I can't imagine the web being as advanced as it is now without it playing a role. It's important for the history of the web, but I believe it should be surpassed and replaced by something cleaner.

I don't think C++/Rust will drive js away, that's why I mentioned garbage collection, which the designers do have in their roadmap. Nothing is ever replaced completely but given how fashion-driven and temperamental web developers and their products are it'll probably not take as long as you'd expect to marginalize javascript once the groundwork is in place.

Because it runs on everything and dev times are like 1/1000th of other languages not to mention the 1000000000s of frameworks and widgets.
I used to hate it compared to heavy languages until I realized how much easier and faster it is to build shit in JS UNLESS you're a neckbeard loli loving basement lincuck sipping the cum overflowing out of your moms holes.

show what you have built.

Not him, but I've put together quite a few large applications with it.
It's dead easy to integrate with anything.

post them.

heh, cry yanks and westerners

I, an eastern euro am stealing all of your jobs by just selling wordpress themes to rando pizzerias in America, UK, Aus, Germoney, etc.

I work for like 20k a year and I live like a king by not even knowing how to kodeā„¢

How does it make u feel that I spend $500 a month on rent/bills/food, yet live in a luxury city centre condo and do sex with qt traps :3

notting personnel, kid

-Ivan

lol no.
They're online. I'm not revealing my id here topkek.

If you don't post them then I'll just guess what they are.
They are shit, not actually large, don't have any kind of constraints under which they operate, and would probably be written better in any other language.
Now go suck a dick, you fucking js-faggot.

Why the fuck are you obsessed with the Javascript community?

Just wait until webassembly comes. Javascript is thankfully finished.

>What's with this node.js?

Is it 2009 again?

Anyway to answer your question:
-you have a huge pool of JS developers (basically all frontend guys)
-JS is already in every browser installed (let's ignore the 0.3% that are GNUtards for a moment)


>NodeJS, ReactJS

Congratulations, those have literally nothing in common.

u mad boi?
How about you start putting together some projects and libraries, instead of bitching at people who do.

>he doesn't sit on a chair.js
>he doesn't drink water.js
>he doesn't walk with shoes.js

I laugh at you pretending to have done anything worthwhile in this horrible piece of shit of a language.
If you want to prove me wrong, then show me (by posting your shit), or are you scared that the mad 1337 haxxors of anonymoose will order pizza to your doorstep?
you weak nigger.

>that image
>that aggressiveness
Damn, I didn't think was being serious.
He was on fucking point.

The fuck are you talking about?
Stop dodging , and show me your proofs.
Show me anything you programmed in this language that is more than just a toy, and that couldn't have been made better in most other languages.
I am waiting.
But since you are just baiting around this topic, I know that there is nothing you can show.
This is because you are a retarded monkey, and should honestly kill yourself.

Just embrace JS my friends. If you're good at other languages there's no reason you can't be good with JS.

Webassembly runs on Javascript VMs my friend.

>he fell for all the Sup Forums means and dont know any actual technology

You know how you give a baby a simple baby puzzle and he feels like a genius after solving it? Thats javascript developers

it's pretty fucked up too that JS is so bad that there are languages made just so you can avoid it (like typescript)

in any case, it should fucking stay in the browser

on the contrary, making anything stable in javascript is a neverending bugsquashing challenge

Javascript debugging is simple though, at least the v8 console is quite literal

>Webassembly runs on Javascript VMs my friend.
That's not even the issue. The problem with js is the language itself (no ints, lmao) and the substandard people who use it.

I work in a small MSP, and have dealt with people like you. Trust me, we hate people like you because you are incompetent, but we love you because for every broken wordpress site you ship to one of our customers we have to spend hours upon hours helping you upload it to the web server, choosing the right PHP version, etc. All of which we can bill our customers for.

Romanian here, the customers are usually pretty satisfied after a tour booking plugin and some CSS edits so keep dreaming.

Why are there so many JS devs on a technology board?

>t. someone who never had to work with massive Java codebases

Only for a couple of months. My first couple of years in the industry consisted of fixing shitty Wordpress shop work

I mostly had to deal with indians, but frankly I find that even people here who exclusively do the design and marketing are just as incompetent.
I don't know how to use wordpress, joomla, drupal or anything like that, but I know my way around js, html, php, css, mysql, etc. so I basically fix things that way when their designers are lost

>shiggy diggy

much superior to working with massive C++ or JS codebases

why would they do this?

it will only enhance js and make it even more prevalent and efficient

JS is super easy.
You can just throw objects together piecemeal.
At no point do you need to actually really think about what you're doing, just bolt more shit onto your object until it does what you want.

I had to do a smallish JS project in a week semi-recently, basically ended up throwing a dozen super disparate objects into one big array and they'd indicate what "type" they were in a .type property (that was also super fucking loose) and would have an .apply() function that'd smooth shit over when the whole array was processed. Some of the objects were more special than others and had loads more shit than the .type indicated.
Saved a fucking ton of time honestly -- I don't routinely use the language, and I was super strapped for time, even working on it while on the road, so I probably broke every guide on good style. It was a fucking mess, but god damn, it let me just slap code together until I got something that worked.
for small projects under 2k lines, this is fine, who cares if it's pretty, as long as the result works

but holy fuck it's still kind of nasty (bugs that would have taken zero time to find a typed language now introduce subtle errors since the program still fucking runs, no block scope sucks ass and makes certain things less certain, operators really, really, really suck, etc) and for any remotely large project, your team would need some hearty discipline to not get bitten by the whole "yes, let's just give specific objects properties that are created long, long, long after initialization, often spread out across several functions" thing, which might end up happening entirely on accident and no one notices

if there's on thing I really like about JS without reservation, functions are ridiculously nice in it

>JS is super easy.
>You can just throw objects together piecemeal.
>At no point do you need to actually really think about what you're doing, just bolt more shit onto your object until it does what you want.

This is exactly why i hate JS: Faggot and retard enabler language.

Employers like it because now they can make their frontend web developers work on backend without having to spend money to hire dedicated backend developers.

>>Just another delusional Lisp dinosaur.
>implying that acceptance of cold, hard reality is endorsement

>better
Premature optimization is the root of all evil.

>nodejs doesnt let easily let you do multithreading
So write microservices. Hell, write microservices in C or Erlang to do your heavy lifting if you really must have parallelism.

What kind of crackpot would want to write their business logic twice?

A good Promise library helps a lot with the callbacks.
Q.ninvoke(fs, 'readFile', fname, 'utf-8')
.then((contents) => {
})

>he hasn't heard of the let keyword
>he hasn't heard of "use strict"

Aren't you embarrassed to be so bourgeois?

>he hasn't heard of closing his code tags
goddamnit

I'm happy writing native code, but almost all of my recent projects have involved JS.

There's pretty much only one reason, which is that it's extremely productive.

You could write a frontend using only straight HTML, CSS, and pure ES5 JS. But once you've done an Angular project with SCSS and TypeScript, you don't really want to go back due to the power and productivity of it.

On the backend, JS is not my theoretically ideal language but
1) With Node v8.x's full async/await support, combined with a linter and general best practices, it's no longer hellish to use for business logic but actually quite pleasant. The async nature of everything/callback hell is a thing of the past now that you can just `await` on everything. Check it out if you haven't.
2) The ecosystem is enormous. You want to add/use/integrate with ? Just search "node foo" and you'll almost certainly find a stable, well-built, actively maintained module for it with a significant userbase.

>A good Promise library

Node supports up to async await now, you're still using Q to do promises?