Attached: 1_DN7ToydkJZEdVaJVK_Nhvw.png (1052x1052, 23K)
Is javascript the best language right now?
Ayden Ortiz
Cameron Watson
No
Jonathan Flores
Nope
Jason Rogers
No.
Nolan Rivera
Ye... No.
Samuel Davis
Why hasn't this shit died off yet
Dylan Lee
Yes absolutely.
SEETHING freetards.
Jose Ortiz
It's not even about freetardism. I just don't want a webpage to consume 500MB of RAM by itself.
Liam Taylor
["10", "10", "10", "10", "10"].map(parseInt)
[10, NaN, 2, 3, 4]
Jeremiah Sanders
Ok then what is so wrong with javascript?
Jace Richardson
Js is bloated garbage fuck off
Noah Watson
Gee I dunno, what about the post before yours? Did you consider that?
Nicholas Brown
parseint takes two arguments
Mason Reyes
What this guy means is that autists are too dumb to grok it. They need to be coddled by compiler daddy.
Christopher King
Nani?
Grayson Ortiz
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
Owen Rivera
more of a fault of dynamic typing itself rather than javascript
Jordan Fisher
Jason Robinson
You are being misleading on purpose.
Asher Butler
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.
Cameron Flores
nope.
but js is spreading like a plague.
Hunter Kelly
In what way is it misleading
Hunter Myers
it backs a different conclusion than the one I have already made, so I dont like it and it's misleading.
Bentley Reyes
Ah, I totally forgot map pass two arguments to the func.
Joseph Ward
Look up the documentation for Array.prototype.map
Jonathan Walker
>arrays in js are implemented as an associative map where the index is the key
is there some technically reason for this bullshit?
Brayden Powell
What is the proper way to implement it? All the languages I've worked with have this implementation.
Xavier White
When I do that I see a hilarously retarded implementation of map, a staggering display of unhirable incompetence.
Austin Morales
Based and nanipilled
Jason Bell
no
Justin Turner
So do I when I look at you
Liam Taylor
kindergarten tier retort as expected from someone using a kindergarten tier language
Easton Nelson
You realize you have to be 18 to post here kid?
Dominic Evans
NaNi
Jose Gray
fuming
Andrew Sanders
NaN/10
Lucas Gomez
Landon Ward
WOT IF YA NAN WOS A NUMBER
Kevin Williams
what are those languages?
Anthony Morgan
>I don't understand varargs, the post
Sebastian Cook
PHP and JS.
Noah Hill
I don't understand map: the post
Ryan Stewart
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.
Zachary Harris
Is the API retarded? No, it's the users who are wrong!
Gabriel Green
Werks on my brain.
Ayden Rogers
It's a weird Scheme (not terrible) with a really bad echosystem. Bad as in unmaintainable trash by hipsters idiots.
Benjamin Ortiz
>I *still* don't understand varargs
Ayden Russell
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
James Thomas
Also check em
Christian Fisher
>PHP and JS
just as i thought. demonic programming languages.
Matthew Rodriguez
puts a joggin' on the noggin'
Grayson Adams
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.
Jose Peterson
protein binding*
ah fuck im going to bed
Mason Lewis
do it in c/c++ for performance
Christopher Nguyen
I'm sure it's exciting when it's the only programming language you've ever written
Camden Harris
as an array
Angel Murphy
["10", "10", "10", "10", "10"].map(v=>parseInt(v))
Ethan Roberts
Java is Lava
Matthew Hill
Wow the glaring flaw in your language can be duct taped over, that means js ins't a clusterfuck
Ryan Wood
I call function with explicit paramets, that's not a same as duct taping.
Bugs happen in every language.
Leo Flores
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
Austin Sanders
If you want to google that, the correct term is "affordance", I fucked it up.
Brody Gutierrez
Does it hurt that JS killed you precious flash?
Nathaniel Flores
Also TypeScript and Angular 6 make it way better
Luis Smith
what? you mean html5?
Jeremiah Myers
No
Josiah Bell
What does freedom have to do with this?
Julian Thomas
Anyone got the js "logic" image?
Landon Nguyen
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.
Xavier Rogers
Fuck no.
Learn Go and Python.
Jayden Cruz
> What is HTML5
Nicholas Ross
It's the fastest programming language to prototype applications with. Common Lisp is a close second.
Henry Richardson
"Junior" detected.
Jordan Roberts
If it's not the best, it certainly is the most accessible.
Christian Rogers