9 Reasons People Hate JavaScript

preview_player
Показать описание
Why does everyone HATE JavaScript? We expose its flaws, quirks, and why it's still the king of the web!

✋ Stay connected

📖 What's covered

00:00 - Introducing JavaScript
00:14 - History of JavaScript
00:32 - Coercion
00:59 - Equality operators
01:50 - Null and undefined
02:08 - The this keyword
02:23 - Classes
02:38 - Module system
03:16 - TypeScript
03:47 - Ecosystem
04:28 - Why JavaScript is the king

#javascript #programming #webdevelopment #coding
Рекомендации по теме
Комментарии
Автор

Null actually means null pointer. Values that contain objects are actually pointers to the object rather than containing the object themself, and null is pointer to nothing. Which is why typeof null is 'object'.

robertsandiford
Автор

If companies or developers stopped releasing new JavaScript libraries or frameworks every nanosecond, maybe I wouldn't hate it.

EDIT: I dont want to use any of them, as the tech layoff wave is spreading, overrule of AI and ridiculous demands from employers, I stop learning new non sense tech just to please my (future)employers or clients so they can pay me less while having a fullstack. I'm now focus in ReactJS/Angular/Nest and hope those skills can buy me 2-3 years more while I'm learning new skills and start over with diff job, away from tech job for good.

lucaspham
Автор

I know PHP, I know Rust, I know SQL, I know Shell-script, I even once knew C and C++, but I have never managed to get comfortable with Javascript. I don't think I ever will. It never ceases to confuse me.

dschledermann
Автор

meanwhile im 46yo, self taught and still learning JS >HTML>CSS>React with vite for the last one year, im having fun learning JS because i want to be front end dev for my freelance journey

dni_
Автор

I went through BASIC, C++, Pascal (later Delphi) and finally settled on C# for 2 decades. Once over lunch we were discussing JS with colleagues who used it. I said I hate it. They asked why. Not that they were surprised; they just wanted to hear my version. I said: "I feel like coding in JS compared to C# is like going to a ballroom party in your pyjamas. Not that it can't be done. It just doesn't ever feel right".

For the short while I was sentenced to using JS, I remember I spent more than half a day once just chasing a bug due to null checking errors. That's criminal if you ask me. Horrible thing JS. I will not dignify it by calling it a language.

KamramBehzad
Автор

JavaScript is weird, but somehow I love it so much.

jpallatin
Автор

I'm deeply learning html and css right now next it's javascript, I want to be frontend developer

umerbedewi
Автор

Honestly I kinda love the speed to prototype in JavaScript, even knowing the risk of accruing insane technical debt is a perpetual risk with how quiet the language is about the dev's mistakes.

I dunno, I'd rather just take the type coersions in JS than C segmentation faults and Java verbosity.

AnnCatsanndra
Автор

I decided to take JavaScript seriously because of Dash's clientside callbacks.

And I recently got hired into a web development firm that wanted a Python developer just like me. So I decided to learn JavaScript.

That undefined vs null causes a little bit of problems.

Once I knew the distinction:
const, let, var
undefined, null
object, array, map, set.
I also knew JavaScript classes were fake.

I was ready.

TrusePkay
Автор

I was a C# developer for 4 years and then a node/react dev for the next 6 and I can say, most of these are really non-issues... Sure they "exist" but they aren't really issues. No one is trying to add an empty object to the string "0" in production. We have linters that prevent you from using == and most of the time we don't even use the "this" keyword. Module systems are set up once and forgotten about. Also the "chasing shiny frameworks" rhetoric is not something I've seen in reality, I'm not sure why it's being perpetuated so much. These frameworks come out fast but they don't get adopted fast. The fact that JS has given so many devs the ability to create frameworks in the first place should speak to it's it's flexibility.

If you're new to programming and want to learn JS, do it. It's a flexible language that can run in many places and is easy to learn. It has issues, but so do all the other languages. Anyone that says otherwise, wants to waste their time arguing rather than getting code shipped.

Mrxclamtion
Автор

I just started a full stack JS job w/ data analysis job duties too. Seeing this video has made my heart skip a beat.

JW-puuk
Автор

The main problem with JavaScript is that it handles too many things under the hood. When we learn C, we struggle with pointers and must overcome this to make our programs run. In JavaScript, we don’t need to know how it automatically converts your values behind your back, nor do we need to understand the event loop, or that keeping elements in an array of the same type can make it faster… Our app just works until it doesn’t, and then we’re left bewildered because we missed this kind of information from the beginning.

moredortor
Автор

This video is amazingly well put and accurate.

I would just have said that the fact it is so popular is because it's the ONLY language that runs in the browser. It's not a matter of choice over other languages, it's literally the only one, for legacy reasons.

Soleryth
Автор

Java script is cool but oython is lovely i swear i love python

skulduggery-
Автор

Thanks for your amazing content Mosh. You videos are not only very engaging and useful, but also very therapeutic and refreshing 😊

ashmoore
Автор

I hate that i can't do anything without creating a promise to keep Javascript from trampling over it and breaking my project.

danielstellmon
Автор

I don't hate JavaScript, but I can't say the same about the ecosystem

siya.abc
Автор

javascript, html 5 and css 3 are the core of frontend development. The tons of frameworks and libraries that emerge every month make life hell for beginners as you never complete your training because a new react-like framework has just been born. This is absurd. These frameworks appear with the promise of making development more agile, but that is not the case. They only serve to themselves as they move millions of dollars in courses, books and online training. These are their real goals. The question worth commenting on is why employers think that people who don't know these frameworks are incapable of delivering code that actually works and meets the project requirements. In the end, the user needs to have a competent and working frontend at their disposal. My users don't know and don't want to know what react, angular, etc. are.

ernanileiteribeirofilho
Автор

All very good points. I want to add poor coding conventions to the mix as well. I do not like the we need to write code in one event to update code in another.

MARCTIM
Автор

hello sir, its great to see you again

Punisher_