JavaScript for the Haters

preview_player
Показать описание
Why does everybody hate JavaScript so much? A complete roast of JS that highlights the strongest criticisms against the world's most popular programming language.

#javascript #roast #comedy

🔥 Black Friday Discount

🔥 Use code BLACKFIRE at checkout for 40% off

💬 Chat with Me on Discord

🔗 Resources

🎨 My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- JS Roast
- Funny JavaScript features
- Worst aspects of JavaScript
- JavaScript pitfalls
- JavaScript drama
Рекомендации по теме
Комментарии
Автор

When you code in JS, you always want to shout "F%ck this", but you can't be sure what "this" means in your local environment...

Virbox
Автор

Non-JS developers: Finally a video for me..
JS developers: Finally a video for me..

maxxinmaze
Автор

The worst thing about JavaScript is being a tutor trying to explain "that's not how it should work, and you shouldn't do that, but yes, it does work"

gibbyfromicarlybestshow
Автор

1:18 I love how he couldn’t be bothered to say “object” twice so he copied the audio, following the DRY principle

migvelv
Автор

"Completely detatched from reality" is the most accurate description of js type system that I've ever heard

panlis
Автор

I love how JavaScript worked around the weird equality test issues by adding more equality operators like === (in other words, no I mean it, is it really *really* equal?)

BrianOSheaPlus
Автор

"Programming in JS is like looking both ways to cross the street, and then getting hit by an airplane" - Don't know by who

JettoDz
Автор

I love that the only good thing he has to say about JS is that he gets paid good money to write it

MxSlfDstrct
Автор

There was Atwood's law, now here's my law:
"Everybody who can code in JavaScript, suffers with JavaScript"

Xylight
Автор

"Puts food on my family"
Well, considering JS type conversion, a family and a table are the same thing for JS, so this is acceptable. xD

pesterenan
Автор

Fun fact: {} + [] is 0 because, in this case, {} is *not* an object. Rather, it's an anonymous block scope. If you're confused, it's equivalent to the expression "if (true) {} + []". "if (true) {}" isn't a piece of data--- it's a statement. The + operator in this case is unary, meaning that [] is its only operand. To demonstrate this, you could type out "+ []" and get the same result. Unary + simply casts its operand to a number. [] casts to 0. And hence, the result is 0.

Radian
Автор

Not even a mention that every implementation of Javascript is different and incompatible with other implementations. Theoretically same code should work on any web browser, or other webpage rendering device. In practice you write miles of code to test for presence of features, and work around their absence, and in the end it still fails on a number of devices where the test itself triggers a runtime error.

sharpfang
Автор

Non-JS devs: hates JS.
JS devs: hates JS every moment.

window.location
Автор

-Un- popular opinion: The only problem with TypeScript is that it's based on JavaScript

realizer
Автор

I'm a C# dev who was forced by Amazon to code in JS.

Now that I'm out of my month long journey of TS and NodeJS, I'm constantly putting $ in my strings in C#.

Thanks JS

AvenDonn
Автор

I had a JS project last week in university which drove me insane because of the CommonJS, ES6 and bundling clusterfuck. Like everything you do breaks another thing. Then there are features which are supported since years in one browser and not in others (I look at you module web workers and importmaps).

The video was relieved my pain.

oODomeeOo
Автор

"Used exclusively to build things it's not supposed to" few hours earlier I was working on a TS/JS project and had this exact thought.

BoloH.
Автор

Best 100 seconds to send to someone planning to try and be a javascript dev.

From: A javascript dev.

crappycoder
Автор

Javascript got me into a project that is a part LinkedIn, part Facebook, part Upwork, part Jira and part Medium.
The deadline is January 2023, and there's 3 FE devs, including me. I'm the most senior with 3 years.

Our backend isn't done yet.

cIappo
Автор

I've recently tried JS. I am not a dev, I am a tech writer and I wanted some functionality in the webdoc I was making that the Jekyll theme we use does not support out of the box. I know some basic Python and I studied R as part of my linguistics major so I figured implementing a couple of simple scripts would be totally non-issue.

And no, it was not an issue, I figured out quite quickly how to code the entire thing. Problem was, I would have spent at least a third of that time less if JS had syntax that made sense and if its console log errors were remotely descriptive of what is wrong with your code. I might be stupid, I have an arts degree after all, but to me, "x is not a function" does not intuitively mean that I missed one semicolon in a few dozens of lines of code.

amalkatrazz