9 Reasons People Hate JavaScript

Поделиться
HTML-код
  • Опубликовано: 13 июн 2024
  • Why does everyone HATE JavaScript? We expose its flaws, quirks, and why it's still the king of the web!
    ✋ Stay connected
    - Twitter: / moshhamedani
    - Facebook: / programmingwithmosh
    - Instagram: / codewithmosh.official
    - LinkedIn: / codewithmosh
    📖 What's covered
    00:00 - Introducing JavaScript
    00:14 - History of JavaScript
    00:32 - Coercion
    00:59 - Equality operators
    01:29 - Array.sort
    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

Комментарии • 288

  • @lucaspham5238
    @lucaspham5238 24 дня назад +114

    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.

    • @AmnaCode
      @AmnaCode 22 дня назад +1

      😅😅

    • @robertsandiford6223
      @robertsandiford6223 12 дней назад +1

      It's kinda your problem if you can't pick one and use it tbh.

    • @helw7
      @helw7 9 дней назад +3

      Just ignore them. Focus on JavaScript, not the libraries.

    • @helw7
      @helw7 9 дней назад

      Or just creat your own library 😁😜

    • @kubanaid5960
      @kubanaid5960 8 дней назад

      Don't worry AI will replace these useless languages.

  • @robertsandiford6223
    @robertsandiford6223 27 дней назад +13

    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'.

    • @user-ly3on4jg7g
      @user-ly3on4jg7g 5 дней назад

      How dare you educate people, they want us to leave them confused and angry.

  • @dschledermann
    @dschledermann 26 дней назад +54

    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.

    • @developed_by_bobo
      @developed_by_bobo 24 дня назад +5

      Similar here. I had to learn c# just so I could avoid js. I hate sql too.

    • @Terminus265
      @Terminus265 24 дня назад +3

      I eventually managed to get it stuck in. I can use JS now. try Mosh's course on modern js.

    • @dschledermann
      @dschledermann 23 дня назад +3

      @Terminus265 yeah.. it's not like I can't code in Javascript all. I've been a programmer for well over two decades, so I have had plenty of exposure to it. It's more that Javascript, IMHO, is so inconsistent and has so many nasty surprises that I feel I'm ridiculously unproductive in it.

    • @daphenomenalz4100
      @daphenomenalz4100 16 дней назад

      ​@@dschledermann yeah, typescript is much better (tho it's just a linter 😂 that eventually is converted to js)

  • @dormiebasne3578
    @dormiebasne3578 28 дней назад +13

    JavaScript is the chaotic language something like the internet deserves to represent it.

  • @ashmoore3709
    @ashmoore3709 28 дней назад +2

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

  • @JW-pu1uk
    @JW-pu1uk 28 дней назад +4

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

  • @TrusePkay
    @TrusePkay 28 дней назад +10

    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.

  • @dni_
    @dni_ 25 дней назад +7

    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

  • @umerbedewi477
    @umerbedewi477 28 дней назад +71

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

    • @programmingwithmosh
      @programmingwithmosh  28 дней назад +58

      I have an awesome video for you! Coming next week!

    • @kolapoidris7258
      @kolapoidris7258 28 дней назад +5

      ​@@programmingwithmoshinteresting I am also in same shoes as him

    • @blacksystems
      @blacksystems 28 дней назад

      ​@@programmingwithmosh do you Any plan for flutter?

    • @kamisoulhunter
      @kamisoulhunter 28 дней назад +2

      @@programmingwithmosh آقا مشفق افتخار مایی

    • @Solo_Wing_Pixy
      @Solo_Wing_Pixy 27 дней назад

      same! my latest project requires me to learn all of them, so I hope it won't be a drastic change from the desktop languages

  • @Jesun_Ahmed
    @Jesun_Ahmed 28 дней назад +5

    hello sir, its great to see you again

  • @ashwinsuryawanshi
    @ashwinsuryawanshi 3 дня назад

    Good. to see you back.

  • @GustvandeWal
    @GustvandeWal 26 дней назад +4

    Okay where does 2:17 come from?? It seems hilarious

  • @AnnCatsanndra
    @AnnCatsanndra 16 дней назад +2

    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.

  • @rosariosway
    @rosariosway 24 дня назад

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

  • @jpallatin
    @jpallatin 28 дней назад +100

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

    • @justcurious1940
      @justcurious1940 28 дней назад +4

      I agree. It's a lovely language like C.

    • @DarthVader11912
      @DarthVader11912 27 дней назад +2

      same

    • @paca3107
      @paca3107 21 день назад +2

      do you know any different language?

    • @jpallatin
      @jpallatin 21 день назад

      @@paca3107 yes

    • @MK-lh3xd
      @MK-lh3xd 19 дней назад +5

      Stockholm syndrome 😅

  • @KamramBehzad
    @KamramBehzad 14 дней назад +3

    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.

    • @lukewebber5562
      @lukewebber5562 5 дней назад

      You and I have a lot in common. JavaScript is a colossal mistake.

  • @AmnaCode
    @AmnaCode 22 дня назад

    Thanks for sharing.that is informative

  • @arikplanet8525
    @arikplanet8525 23 дня назад +2

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

  • @LtFoodstamp
    @LtFoodstamp 28 дней назад +7

    Is it popular or is it simply the default for front end?

    • @allste626
      @allste626 12 дней назад

      JavaScript is the default for front end web dev.

  • @BiniamGoitom-sk6sc
    @BiniamGoitom-sk6sc 28 дней назад +3

    Do you think it is worth learning javascript to use it in frontend and backend if not what do you recommend

    • @robertsandiford6223
      @robertsandiford6223 27 дней назад +2

      Unless you're compiling to Web Assembly you need to use JS or something that compiles to JS.
      I use TypeScript front and back.

    • @DigitalCanineGames_
      @DigitalCanineGames_ 27 дней назад

      if you want to do frontend and backend development then Javascript is a necessity, but you have to learn atleast one more backend language like python,c#,java etc. along with HTML,CSS and a few other frontend frameworks

    • @Sebastian-hg3xc
      @Sebastian-hg3xc 21 день назад +3

      @@DigitalCanineGames_ "you have to learn atleast one more backend language like python,c#,java etc."
      Nonsense. You can do full stack javascript with nodejs backends.

    • @DigitalCanineGames_
      @DigitalCanineGames_ 20 дней назад

      @@Sebastian-hg3xc I know you can that's why I said "if you want to do FRONTEND adn BACKEND development JS is a necessity", but just because you can do frontend and backend with JS doesn't mean you should or every company's code base has NodeJs on the backend, so it's good to know more, especially Java and C#

  • @sadgomar2667
    @sadgomar2667 28 дней назад

    I just started learning js this month

  • @CoolTebza-eh7ig
    @CoolTebza-eh7ig 13 дней назад

    Matter of preference. Some when they see complications they stop learn that thing. But i think developers should be vast knowledgeable in every tool out there. But who I'm i but people choose what they like

  • @dastaan3468
    @dastaan3468 19 дней назад

    I find TS helpful. Especially libraries built with ts.

  • @MARC1TIM
    @MARC1TIM 2 дня назад

    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.

  • @samjohnson5044
    @samjohnson5044 9 дней назад

    Thanks for this. I'd also add the screwball syntax. Seems like you can't write a function without tossing in some blank pairs of parens and braces. What a mess.

  • @europeanandasian9463
    @europeanandasian9463 28 дней назад

    Hey mosh, are we expecting new courses from you, I asked you because I love your courses 😊

  • @MDTALKIES
    @MDTALKIES 28 дней назад +2

    Great ❤❤❤

  • @kushagrasharma8974
    @kushagrasharma8974 28 дней назад +20

    Web sites demand more resources than video games these days

    • @shaheermansoor2560
      @shaheermansoor2560 28 дней назад

      How?

    • @kushagrasharma8974
      @kushagrasharma8974 27 дней назад

      @@shaheermansoor2560 i can play video games on 1.3ghz CPU but youtube runs good on 4ghz. i underclock my CPU to keep the CPU cool.

    • @lesterivan282862
      @lesterivan282862 26 дней назад +4

      @@shaheermansoor2560well I am a computer engineering student who’s mostly done C, and I would say logic is far easier to learn than syntax. A lot of these front end languages to me at least feel overwhelming with syntax whereas something like C is purely logic based.

    • @muresanandrei7565
      @muresanandrei7565 25 дней назад +3

      ​@@lesterivan282862 Nah you just don't know javascript and talk shit ...

    • @Sebastian-hg3xc
      @Sebastian-hg3xc 21 день назад

      @@lesterivan282862 are you really trying to argue that c is easier to learn/code in than javascript?

  • @verydifferentthought
    @verydifferentthought 28 дней назад +11

    My first paid project was a telegram bot which I created using NodeJS. So I assigned price as number, but admin entered it with comma. All the posts he created had undefined on price 😂😂

    • @patunolaibukun2506
      @patunolaibukun2506 28 дней назад

      🤣🤣🤣

    • @tmahad5447
      @tmahad5447 26 дней назад

      Number(price.replacace(",", ""))

    • @Sebastian-hg3xc
      @Sebastian-hg3xc 21 день назад

      You mean the admin send those "numbers" via http, possibly as query string, which is.... string values? Parsing numbers locally aware is a challenge not just for javascript, but in general. This isn't an issue with javascript.

    • @verydifferentthought
      @verydifferentthought 21 день назад

      @@Sebastian-hg3xc The person who paid money(Admin), yes skill issue from my side😁😁. But I fixed it and did some validation using regex.

  • @rohitshrestha1634
    @rohitshrestha1634 25 дней назад

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

  • @milton2755
    @milton2755 9 дней назад

    The chaos is what makes it beautiful

  • @Rovsau
    @Rovsau 6 дней назад

    One reason to hate JavaScript less these days, is AI like ChatGPT.
    Teaching and reminding of language quirks is a pretty good feature.
    Not that they are always right, but I've found great help when exploring new languages so far.

  • @meekbronsen6668
    @meekbronsen6668 25 дней назад

    Hey Mosh could you do a caching course, like redis

  • @javohirmurodov4670
    @javohirmurodov4670 25 дней назад +1

    console.log({}+[]) => [object,Object]
    console.log({}+{}) => [object,Object] [object,Object]
    I try this they are different what you said,
    Did I do someting wrong?

  • @xitaris5981
    @xitaris5981 28 дней назад +3

    Now make a video with how to cope with these shortcomings

  • @dandonna852
    @dandonna852 25 дней назад

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

  • @Soleryth
    @Soleryth День назад

    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.

  • @jieclarkdev
    @jieclarkdev 22 дня назад

    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

  • @moredortor
    @moredortor 5 дней назад

    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.

  • @giorgiobarchiesi5003
    @giorgiobarchiesi5003 24 дня назад

    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.

  • @danielstromberg
    @danielstromberg 13 дней назад

    Also tools like Babel and Typescript wreak havoc on your debugging experience.

  • @totallynotvcool9800
    @totallynotvcool9800 25 дней назад +1

    Mr mosh man I love you ❤

  • @vitorisaia
    @vitorisaia 28 дней назад +1

    That's why I love it! hahah

  • @Layput
    @Layput 26 дней назад

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

  • @gregbuildstech-cn3cg
    @gregbuildstech-cn3cg 18 дней назад

    Can we get a full Sveltekit course please? I'll give you all my money.

  • @MukeshKamath
    @MukeshKamath 6 дней назад

    Hell.. I thought I was a disgruntled engineer unable to establish myself in the industry.. now I learnt why something is not right with this lang

  • @tentimesful
    @tentimesful 24 дня назад

    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

  • @xenoranger79
    @xenoranger79 27 дней назад

    Typing always gets me. I can assign a variable as a string, then make it a boolean, then finally a date. I know TypeScript fixes this, but you can still sign multiple types to variables in TypeScript. So your variables can be unpredictable when debugging someone else's code.

    • @Sebastian-hg3xc
      @Sebastian-hg3xc 21 день назад +1

      Well, then don't. What's the problem?

    • @xenoranger79
      @xenoranger79 21 день назад

      Don't debug other's code? Interesting take.

  • @tysonefford5522
    @tysonefford5522 28 дней назад +1

    l am busy with HTML & CSS, and after that going straight JavaScript!!!!

  • @user-mw9bh4hf7o
    @user-mw9bh4hf7o 9 дней назад

    I mainly use C# for backend development and learning JavaScript was a breeze after learning C#. I honestly don’t get the hate. Debugging is not horrible if you use console.log along with your browser dev tools

  • @BW022
    @BW022 5 дней назад

    And this doesn't even touch on it's biggest issues...
    1. It is interpreted. You have to worry about performance, run-time errors, error handling in ways you don't in compiled languages, pre-compiling (which may or may not work at work on individual machines), etc.
    2. It is typeless meaning runtime errors confusion, TypeScript (which is only a partial solution and still has lots of anys when detailing with the outside world, etc.), etc.
    3. It is too tied to DOM, browsers, versions, OS's, etc. in ways you have no control over.
    4. It is too tied to HTML/CSS, including all the browser issues, libraries to get around it, rendering, page states, browser versions, security, etc.
    5. Too many parts of it are synchronous with all sorts of non-linear behavior for fairly simply communications, I/O, all require massive complexity when you simply want to application the code to simply wait until a call is made and then continue to the next line.
    6. It relies on libraries to try to manage the above -- from JQuery, to React, etc. All these add complexity, change far too often, are rarely complete, add additional complexity beyond the language itself and are pretty much necessary for anything with complexity.
    7. It's non-local. Things like a file system, local storage, direct access to things, etc. is doesn't typically exist resulting in massively complex work arounds, etc.
    etc.

  • @killswitch.
    @killswitch. 28 дней назад +2

    `this` is a menace

  • @afterschool2594
    @afterschool2594 6 дней назад

    I used to like Python more than JavaScript (The 2 interpreted language that I used the most) . There's 2 turning point that made me become like JS more than Python
    - I hate Python's concept where indentation as a block since I worked with python in many environment
    - JSDocs

  • @Maman-Setrum
    @Maman-Setrum 13 дней назад

    using javascript since 1998 for DHTML website, but never use it as primary/main language programming.
    website is chaotic thing, you'll never can build it only using javascript without HTML and CSS.
    I don't care full stack or front-end or whatever it called, just used whatever you want to write.

  • @ducodarling
    @ducodarling 12 дней назад +1

    MySQL has the motto "garbage in, garbage out" , and no one complains about that. You cant add objects, you should expect to get nonsense back in a scripting language that aims to keep running.
    The real reason devs hate JS is because it doesn't tell them exactly what to do and how to do it. If you keep removing flexibility, you'll end up with a tool that's so terse, it'll make more sense to automate it than let you toy with it.

  • @mariolis
    @mariolis 8 дней назад

    I only know C and C++ (they are not the same thing, and learning to write idiomatic C and C++ is like learning a different language, but they do work very similarly under the hood)
    the idea that null and undefined are two different things ... or that a can equal b and b can equal c but a does not equal c as explained above , yikes ... i dont think i ever wanna learn JS ...

  • @AlexMarba
    @AlexMarba 16 дней назад +1

    So many non-issues. How is [ ] + { } = ? an issue you could possibly run into??? Why would you want to add an empty array to an empty object? I don't understand a real world application of this. Can someone explain why this video includes it?

    • @barbidou
      @barbidou 11 дней назад

      Sure, there is no point in using such expressions intentionally. However, if one tries to add values that come from functions that play loose with type conversions, such things can happen and catch a developer unawares.

    • @AlexMarba
      @AlexMarba 11 дней назад +1

      @@barbidou If ur functions make your code add an object to an array, they can't be valid functions in real world scenarios.

  • @ohisideho3460
    @ohisideho3460 20 дней назад

    Where is @2:16 from?😂

  • @prawidhi
    @prawidhi 28 дней назад

    What is your upcoming course mosh

  • @Dracometeor562
    @Dracometeor562 28 дней назад +12

    mosh you are just making it complex, in real world, who the hell would add empty arrays and empty array and objects?

    • @xitaris5981
      @xitaris5981 28 дней назад +2

      Who wouldn't? It's extremely useful

    • @brahimkassem
      @brahimkassem 27 дней назад

      No one will lol​@@xitaris5981

    • @Dracometeor562
      @Dracometeor562 25 дней назад +3

      @@xitaris5981useful in what sense? Lol. Im a software engineer for almost 10 years, i have experienced building various backend services and web applications
      Who the hell would add empty objects and empty array for what use cases? 😂
      Before such empty objects go to your backend to process, should be validated, in real world scenario, no one would ever process empty objects or empty arrays
      Get your facts straight

    • @Aeric80
      @Aeric80 25 дней назад +1

      maybe a member in the team who introduce a bug that difficult to trace.

    • @Sebastian-hg3xc
      @Sebastian-hg3xc 21 день назад

      @@xitaris5981 "It's extremely useful"
      Okay, then use the right syntax. If it's arrays, use concat. If it's objects, use Object.assign or the newer spread operator. The plus operator is used for numbers and strings, not for arrays and objects.

  • @bestofkings9793
    @bestofkings9793 26 дней назад

    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 😂

  • @asleepv
    @asleepv 22 дня назад

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

  • @fmitsinc9146
    @fmitsinc9146 28 дней назад +31

    I love JavaScript❤

  • @user-ic3kd8ot3f
    @user-ic3kd8ot3f 28 дней назад

    Oh yeah

  • @emmanueladaja3863
    @emmanueladaja3863 28 дней назад +12

    This validate my hate🤣 but i gat to learn it for my bills😭

  • @JariPohjanen
    @JariPohjanen 8 дней назад

    Hey, lets bring jQuery back. It was fun to use and it was easy. Update that to the date. It had all the capabilities the UI could need. Some improvements here and there and it would have been a good alternative to current library set of javascript library jumble.

  • @eltreum1
    @eltreum1 9 дней назад

    I hated learning JS and web when forced to work on an internal webapp that was built on bootstrap when Jquery was underpinning it. It made it so confusing and all these frameworks that popup with syntax baggage just made it hell. After that nightmare project I remade their stupid BS template and theme widgets in raw HTML5, CSS, and JS6. Not only did I learn real web dev the website was lean and fast and maintainable by any competent programmer. Those frameworks seem great but the time it appears to save gets paid for later tracing odd bugs or security issues back to your 10 megs of black-box lib imports because FOSS is assumed to be reliable too often.

  • @user-hl9us2id5i
    @user-hl9us2id5i 28 дней назад +1

    Guess what, my 1 programming language is JavaScript and still using it with typescript 😮

  • @rrraewr
    @rrraewr 28 дней назад

    You forgot to mention the incredibly resource consumption

  • @ertugrulghazi334
    @ertugrulghazi334 18 дней назад +1

    Personally, I hate OOP so classes means fuck all to me. I work as a Senior DevOps Engineer anyway and we use Python (without OOP).

  • @justcurious1940
    @justcurious1940 28 дней назад +1

    JavaScript is not clear about a lot of stuff but I love it.

  • @lennyedwards62
    @lennyedwards62 26 дней назад +1

    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

  • @meekbronsen6668
    @meekbronsen6668 28 дней назад

    I love you Mosh

  • @preslaviliev6843
    @preslaviliev6843 26 дней назад +2

    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]

  • @Chris-qb6lb
    @Chris-qb6lb 25 дней назад +1

    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.

  • @johnpeters9777
    @johnpeters9777 13 дней назад +2

    It's the only language that has a book with this ridiculous title, "Javascript : the good parts". You mean there are bad parts? Yes, there are bad parts. That's why JQuery was invented.

  • @yomajo
    @yomajo 9 дней назад

    the technology that enables bloatware and all those trackers.

  • @ergyan300
    @ergyan300 12 дней назад

    Its typescript who stopped me quitting Javascript 😐

  • @kamauwaweru4991
    @kamauwaweru4991 7 дней назад

    whener one is coding,one should be very carefull thats why i love typescript

  • @user-ly3on4jg7g
    @user-ly3on4jg7g 5 дней назад +1

    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.

  • @PatricSjoeoe
    @PatricSjoeoe 27 дней назад +1

    Typescript should be merged into Javascript. The lack of rules in js destroys the language.

  • @spencersedano
    @spencersedano 28 дней назад +18

    i hate it and it doesn't pay my bills yet :(

    • @fromagetriste
      @fromagetriste 28 дней назад +1

      i know a lot about python and i can say JS is really bad, and i built a few stuff in JS

    • @ronman6206
      @ronman6206 13 дней назад

      Same.lol!

  • @feralaca123
    @feralaca123 4 дня назад

    I love javascript, I have used it for years, almost two decades now. I just don't like to use it on the server.

  • @DarthVader-xu8oo
    @DarthVader-xu8oo День назад

    JS is just chaotic, there is no structure to it. Someone said JS is like the C++ of the web and I agree. Unlike C++, JS says: "Do it, but I won't help when it goes wrong". Typescript tried fixing JS but if you are going to declare your types as any what is the point of using Typescript.

  • @levon9
    @levon9 11 дней назад

    There's no thumbs-up button :-/ ... not sure what's going on with YT these days. Learning JS right now, agree on all points you make, coming from Java/Python/C# this languages has lot of strange "rules".

  • @samrat131
    @samrat131 24 дня назад

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

  • @victoromondi7101
    @victoromondi7101 28 дней назад

    It's true that JavaScript got some weird behaviours that would sometimes make you scratch your head for hours.

  • @Shagidelic
    @Shagidelic День назад

    It's not a good thing that despite all these issues js is used everywhere, but rather a curse.
    I hope someday python would replace js. Or browsers' get the flexibility to use any language.

  • @mansouralshamri1387
    @mansouralshamri1387 14 дней назад

    These are what make Javascript the best programming language.

  • @gillesashley9314
    @gillesashley9314 28 дней назад +1

    That's why typescript makes Javascript better.

  • @krisztiantakacs6001
    @krisztiantakacs6001 25 дней назад +2

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

  • @marufbepary100
    @marufbepary100 25 дней назад

    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.

  • @buddy.abc123
    @buddy.abc123 28 дней назад +1

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

  • @PavloRiabchuk
    @PavloRiabchuk 4 дня назад

    After seeing the list of weird stuff it has, it is surprising people call it a “programming language” ))

  • @user-nv9mq7ls3s
    @user-nv9mq7ls3s 28 дней назад

    I love it more than I hate it

  • @uartim
    @uartim 18 часов назад

    It is convenient.

  • @moveonvillain1080
    @moveonvillain1080 28 дней назад +1

    Typescript is a Language ❌
    Typescript is a Linter ✔

  • @tendamolesta
    @tendamolesta 9 дней назад

    JS is complicated for beginners or messy developers. You can do things in hundreads of ways and more than half of them are wrong. The hard part of JS is just about learning discipline, cleaness and simplicity. You can do everything with a functional approach without classes and without using this and its contexts.
    An average developer typically write crap with JS. An advanced one would write very elegant code. Mastering JS is not easy, this is why people hate it. A well written JS code is thousands of time more concise and elegant than a python one.

  • @user-ld3sp1rb4n
    @user-ld3sp1rb4n 26 дней назад

    Anyone here with JavaScript ebook? Thank you!

  • @kader1791
    @kader1791 28 дней назад +12

    it doesn't matter if {}+{}=0 or anything bcz there's no rational developer will do it in real world projects so javascript is the best

    • @daphenomenalz4100
      @daphenomenalz4100 16 дней назад

      Lmao it's not, there's a reason Typescript exists