Is javascript the best language right now?

Attached: 1_DN7ToydkJZEdVaJVK_Nhvw.png (1052x1052, 23K)

No

Nope

No.

Ye... No.

Why hasn't this shit died off yet

Yes absolutely.

SEETHING freetards.

It's not even about freetardism. I just don't want a webpage to consume 500MB of RAM by itself.

["10", "10", "10", "10", "10"].map(parseInt)

[10, NaN, 2, 3, 4]

Attached: meow.jpg (224x224, 6K)

Ok then what is so wrong with javascript?

Js is bloated garbage fuck off

Gee I dunno, what about the post before yours? Did you consider that?

parseint takes two arguments

What this guy means is that autists are too dumb to grok it. They need to be coddled by compiler daddy.

Nani?

user, we know why it happens, that does not in any way excuse the resulting behavior.

Take a feature from a language you dislike and apply the same argument and you'll realize how dumb you sound

more of a fault of dynamic typing itself rather than javascript

Attached: 1535864057228.jpg (755x500, 86K)

You are being misleading on purpose.

In JS the show must go on, and arrays in js are implemented as an associative map where the index is the key, so if the map function has two arguments, js hideously enough chooses to input both the key and value (aka index and value)rather than throwing an error.

nope.
but js is spreading like a plague.

In what way is it misleading

it backs a different conclusion than the one I have already made, so I dont like it and it's misleading.

Ah, I totally forgot map pass two arguments to the func.

Look up the documentation for Array.prototype.map

>arrays in js are implemented as an associative map where the index is the key
is there some technically reason for this bullshit?

What is the proper way to implement it? All the languages I've worked with have this implementation.

When I do that I see a hilarously retarded implementation of map, a staggering display of unhirable incompetence.

Based and nanipilled

no

So do I when I look at you

kindergarten tier retort as expected from someone using a kindergarten tier language

You realize you have to be 18 to post here kid?

NaNi

fuming

Attached: 22AD77D7-6D8D-4A5B-A1C6-CA1EC61569D8.jpg (852x480, 26K)

NaN/10

Attached: 1539289793089.png (191x254, 70K)

WOT IF YA NAN WOS A NUMBER

what are those languages?

>I don't understand varargs, the post

PHP and JS.

I don't understand map: the post

You're right, you clearly don't. It's interpreting the optional second index parameter as the radix base. The only person to blame is yourself for not knowing the API.

Is the API retarded? No, it's the users who are wrong!

Werks on my brain.

It's a weird Scheme (not terrible) with a really bad echosystem. Bad as in unmaintainable trash by hipsters idiots.

>I *still* don't understand varargs

Attached: 1538399906947.jpg (800x916, 96K)

M8 I'm fully capable of writing js, I just prefer languages with less retarded ecosystems, weird idiosyncrasies and arbitrary design choices. This idea that people hate js because they don't understand it is 89IQ

Also check em

>PHP and JS
just as i thought. demonic programming languages.

puts a joggin' on the noggin'

Attached: 1488091644398.gif (720x480, 2.26M)

nice trips

javascript can be pretty powerful but i don't know much about it. My boy shkreli was writing a peptide binding algoritm in a webapp for molecules. It could model millions of compounds in a short amount of time using gpu clusters.

Attached: 3gtk4hnlcqd11.jpg (1125x1331, 153K)

protein binding*

ah fuck im going to bed

do it in c/c++ for performance

I'm sure it's exciting when it's the only programming language you've ever written

as an array

["10", "10", "10", "10", "10"].map(v=>parseInt(v))

Java is Lava

Wow the glaring flaw in your language can be duct taped over, that means js ins't a clusterfuck

Attached: el.jpg (700x933, 51K)

I call function with explicit paramets, that's not a same as duct taping.

Bugs happen in every language.

When you see a door with a plate, do you push or pull it to open? The concept of affordability is foreign to JS, all design decisions are arbitrary

If you want to google that, the correct term is "affordance", I fucked it up.

Attached: 410RTQezHYL._SX326_BO1,204,203,200_.jpg (328x499, 29K)

Does it hurt that JS killed you precious flash?

Also TypeScript and Angular 6 make it way better

what? you mean html5?

No

What does freedom have to do with this?

Anyone got the js "logic" image?

I hate js and this is not a problem, you're just abusing the stdlib. There are plenty of real problems in the language so there's no need to make up false ones.

Fuck no.
Learn Go and Python.

> What is HTML5

It's the fastest programming language to prototype applications with. Common Lisp is a close second.

"Junior" detected.

If it's not the best, it certainly is the most accessible.

Attached: hahaha.jpg (512x512, 54K)