9 Reasons People Hate JavaScript

9 Reasons People Hate JavaScript

Programming with Mosh

3 недели назад

61,399 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Sebastian-hg3xc
@Sebastian-hg3xc - 24.05.2024 10:06

Had to downvote this video after watching your coercion part. You don't merge arrays and objects with the plus operator. We have special methods available for both operations (concat, assign). I have no idea what the "sum" of two arrays or the mix of an array and an object would even mean. It's undefined behavior. The c standard has this notion as well. When you write silly code you get "undefined behavior", meaning you should not write this code because the standard doesn't define the result because it makes no sense.

Also, the results you sell us as "Javascript" are only relevant for client-side interpretation (browsers). I tried nodejs 12 to 22 and none of them matched your results, which is not surprising since we're dealing with undefined behavior here.

Ответить
@AutisticThinker
@AutisticThinker - 24.05.2024 03:02

TypeScript - No more reasons to hate Javascript

Ответить
@jieclarkdev
@jieclarkdev - 23.05.2024 19:07

sir you better update your course in your website about React native because is it so old version of documentation React Native 0.62 and now React Native 0.72

Ответить
@AmnaCode
@AmnaCode - 23.05.2024 12:17

Thanks for sharing.that is informative

Ответить
@asleepv
@asleepv - 23.05.2024 12:02

Excuse me. Sorry if it bothers you, can you recommend data recovery software for Android with a 100% success rate?

Ответить
@happyhardik
@happyhardik - 22.05.2024 22:21

It pays the bill 😂❤

Ответить
@KarelKopriva
@KarelKopriva - 22.05.2024 17:50

The reason is JS == Trash. It is same for PHP.

Ответить
@arikplanet8525
@arikplanet8525 - 22.05.2024 13:14

Doing great. Here's a dare for you: Make a tutorial video of half an hour in QBasic Language.

Ответить
@seyproductions
@seyproductions - 22.05.2024 12:09

Damn, JS type coercion is wild.

Ответить
@ForexSource
@ForexSource - 22.05.2024 11:29

U don't even reply to paid users... And python course is outdated as well. Regret my purchase

Ответить
@peterabouabsi8427
@peterabouabsi8427 - 22.05.2024 05:48

Doesn't matter. Dont do what is easy, do what is recommended. The largest tech companies meta and google created JS frameworks react and angular which means both will be promising so doesn't matter if easy or not, learn what is used the most.

Ответить
@giorgiobarchiesi5003
@giorgiobarchiesi5003 - 22.05.2024 01:00

There is another alternative to JavaScript, beside TypeScript: Dart/Flutter. When compiled/run for the web it is automatically translated to JavaScript. And Dart if a safe and consistent language. Both type-safe, and null-safe. So a lot of bugs are simply prevented by the language itself.
Of course, a scricter language requires greater design and programming skills; therefore you need to be a pro.

Ответить
@tentimesful
@tentimesful - 22.05.2024 00:55

I didnt like it because the intellisense wasnt there and troubleshooting it was needed a browser that dont give all the data... but could do all programming though... but if someone writes in html javascript and you need to change it, it is headache as you cant troubleshoot and have to do fast code reading like me and fix it or make it better

Ответить
@samrat131
@samrat131 - 22.05.2024 00:23

yeap , js is weird and awesome at the same time !

Ответить
@rosariosway
@rosariosway - 21.05.2024 23:48

Great video Mosh, the video was great! You are the best programming professor in the world!!!

Ответить
@bhargavdihora1245
@bhargavdihora1245 - 21.05.2024 21:02

Didn't know people hated JavaScript.

Ответить
@lucaspham5238
@lucaspham5238 - 21.05.2024 17:39

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

Ответить
@DC-xt1ry
@DC-xt1ry - 21.05.2024 16:49

What a joke! people hate JavaScript, lol.

Ответить
@nathansodja
@nathansodja - 21.05.2024 14:06

Because the ecosystem is helpful and annoying at the same time

Ответить
@jasper2virtual
@jasper2virtual - 21.05.2024 13:55

If you want to be a frontend wizard, you have no choice to master js html css. That is life.

Ответить
@faheemahmad3957
@faheemahmad3957 - 21.05.2024 05:00

Becuase Flutter(dart) is much better and easier and full stable language

Ответить
@Chris-qb6lb
@Chris-qb6lb - 21.05.2024 02:13

JS isn't perfect (no language is), but people hate on it because they think hating it will in-group them, or for content-creator clout -- contributing to the previous. Coming from JS to Python, there are some nice things about it, but I mostly prefer JS (and TS even more -- it's not that hard to pick up if you know JS). If I'd mostly worked with Python before, though, I suspect I'd have a different opinion. In the future I want to pick up languages like Go and Elixir, and I fully expect to have substantial dislike for parts of the experience.

Ответить
@pmrebel2733
@pmrebel2733 - 21.05.2024 00:13

PHP has suffered hate for decades and survived, its JavaScript turn! Like JavaScript they both put food on the table.

Ответить
@tazimmahta7625
@tazimmahta7625 - 20.05.2024 20:39

Javascript pays my bill . After watching your video , i am starting to hate it :)

Ответить
@meekbronsen6668
@meekbronsen6668 - 20.05.2024 19:04

Hey Mosh could you do a caching course, like redis

Ответить
@dni_
@dni_ - 20.05.2024 17:36

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

Ответить
@totallynotvcool9800
@totallynotvcool9800 - 20.05.2024 17:00

Mr mosh man I love you ❤

Ответить
@gavincoulson3900
@gavincoulson3900 - 20.05.2024 16:05

I hate it but it pays the bills lol

Ответить
@chilli_Tea
@chilli_Tea - 20.05.2024 15:55

They went too far with abstraction, js is so high level and so many frameworks have been tacked on, it's turned into a bit of a mess

Ответить
@dandonna852
@dandonna852 - 20.05.2024 15:51

Is it possible talk about world strtengthest chess software Sockfish 16.1 heard part of software uses C++???

Ответить
@dibbyo456
@dibbyo456 - 20.05.2024 14:22

Always disliked it.

Ответить
@marufbepary100
@marufbepary100 - 20.05.2024 12:57

I saw a lot of memes about JavaScript being trash but I never used it myself. I went straight to TypeScript and honestly I like it. Python and TypeScript are my top languages.

Ответить
@myilmaz8492
@myilmaz8492 - 20.05.2024 11:55

One more thing: In some methods, I can not use FOR loops. The application just ignores my FOR loop. That's why I must use "recursive functions" in API requests or in some methods to iterate. It is also funny that In some cases, I am allowed to use "for in" or "for of" loop but still can not use regular "for i++" loop 🤣

Ответить
@Aeric80
@Aeric80 - 20.05.2024 09:38

I can't understand why.

1. The syntax doesn't make sense to me. It's like you learn the basic pronunciation in English but some words don't pronounce as it should.
2. Alright it was created in a short time, so every time this can be a good excuse to why it is bad?
3. Problem is vast majority of people are using it and the number is still growing even though it is bad.
4. Even after it has so many versions updated, I still don't see it gets better but worse.
5. Why it becomes more complicated nowadays and some "clever" people combine it with functional programming.
6. Why it need so much resources to compile by node. Why so many dependencies and vulnerabilities.

7. Why it wants to take over the role of the back-end's and try to replace native app. Why full page refresh is so bad and SPA is so great?
8. Shortcut doesn't means it make things more simpler but it actually make things more difficult to read, such as three dots, anonymous functions, etc.
9. Introduction of new features to add more complexity in new version but hesitate to drop some old syntax for the sake of backward compatibility, such as redundant intro to keywords like let instead of var and why not replace document.getElementByID with a much shorter keyword. I mean why not just introduce a brand new cleaner JS that not backward compatible? It may be pain but better for the future.
10. Why not bring back an improved version of VBScript? JS will continue to be bad even though developers have tried to patch the broken holes.

After all, I still feel jQuery is making more sense than any other frameworks. I don't know where the "smart" idea of virtual DOM comes from. Where people think React and Vue are so great.

I have to stop here. My brain is going to burst if I keep going.

Maybe JS supporters will start arguing with me. lol

Ответить
@krisztiantakacs6001
@krisztiantakacs6001 - 20.05.2024 09:28

I use webassembly C# Blazor, and try to forget Javascript since then.

Ответить
@javohirmurodov4670
@javohirmurodov4670 - 20.05.2024 08:28

console.log({}+[]) => [object,Object]
console.log({}+{}) => [object,Object] [object,Object]

I try this they are different what you said,
Did I do someting wrong?

Ответить
@navuhudonossor123
@navuhudonossor123 - 20.05.2024 08:02

I’m so tired about these stupid examples. What do you expect to get from summing array and object?

Ответить
@rohitshrestha1634
@rohitshrestha1634 - 20.05.2024 04:54

Where did u get that meme, can u share with us

Ответить
@user-ld3sp1rb4n
@user-ld3sp1rb4n - 20.05.2024 02:04

Anyone here with JavaScript ebook? Thank you!

Ответить
@bestofkings9793
@bestofkings9793 - 20.05.2024 00:27

I find this video very funny cause of how true it is, but bruh, I love JavaScript, I do everything with it, typescript is a good one though, since learning typescript, it’s been the go-to, still JavaScript under the hood 😂

Ответить
@Layput
@Layput - 19.05.2024 22:22

Mosh is my father.

Ответить
@Layput
@Layput - 19.05.2024 22:21

I use wysiwyg and I don't have to program in html anymore

Ответить
@Layput
@Layput - 19.05.2024 22:19

Because it's so difficult to program

Ответить
@preslaviliev6843
@preslaviliev6843 - 19.05.2024 20:52

I might be somehow wrong , but I just logged the outputs of these , both in the browser and in a server env , here is what I get : [] + [] => ' ' ; [] + {} => [object Object] ; [] + {} => [object Object] ; {} + {} => [object Object][object Object]

Ответить
@sadiulhakim7814
@sadiulhakim7814 - 19.05.2024 20:38

JS in the frontend ? Love it. JS is the backend, ai, mobile ? Hate it.

Ответить
@dschledermann
@dschledermann - 19.05.2024 20:10

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.

Ответить
@codehucau5564
@codehucau5564 - 19.05.2024 18:23

JS help me have a job, help me earn money, help me by food, help me have a rent house to live. JS save my life

Ответить
@OCEAN-fc9wl
@OCEAN-fc9wl - 19.05.2024 18:19

Never learn JS

Ответить
@Spacchio
@Spacchio - 19.05.2024 15:35

It’s a language designed as backend for html in the last century and some genius assumed it will be powerful also for anything else too. Big mistake, it’s dirty, not safe, not compiled and you really don’t want to use it

Ответить
@lennyedwards62
@lennyedwards62 - 19.05.2024 14:56

Over the years it’s become fashionable to hate JS. The rules, with some admitted quirks, are very easy to absorb. Everyone who has ever cited some of those quirks I’ve asked how often they’ve been affected which is almost never. The loose and strict equality is probably the greatest real world quirk

Ответить