What to do if you hate JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 40

  • @banihas22
    @banihas22 21 วันที่ผ่านมา +24

    The real question is how you survive without dark mode

    • @ADHDOCD
      @ADHDOCD 21 วันที่ผ่านมา

      Clearly a skill issue!

    • @adomakins
      @adomakins  20 วันที่ผ่านมา +1

      Use it when it's dark out lol

  • @marsimplodation
    @marsimplodation 17 วันที่ผ่านมา +2

    graphics programmer in c++ here, I always hated how javascript (and even typescript to an extent) behave. Not only is the language design of js insane, but also the idea of using an npm dependency for literally everything is insane to me.
    Also not being able to properly define/controll memory states (var and let behaving differently for example) and not having multithreading available and thus using the async mess everywhere is insane.
    I really don't understand how js has become the standard

  • @TabuHana
    @TabuHana 18 วันที่ผ่านมา +2

    my solution was typescript lmao. I've NEVER gone back. Anytime my friends say they work with js at work i just feel sorry for them.

    • @adomakins
      @adomakins  18 วันที่ผ่านมา

      Yeah fr dude, TS is the antidote lol

  • @chloelee5405
    @chloelee5405 18 วันที่ผ่านมา +4

    i started with Typescript. I never knew js before. after doing ts for a few months (i came with 3 years of java experience), i had to touch js once and i was disgusted and confused.

    • @adomakins
      @adomakins  18 วันที่ผ่านมา +1

      It's the dumbest language ever lol

    • @muharief3885
      @muharief3885 17 วันที่ผ่านมา +1

      nah, i bet you used type "any" everywhere. Typescript also inherit javascript behavior.

    • @adomakins
      @adomakins  17 วันที่ผ่านมา

      @@muharief3885 I mean I realized I'm not the best typescripist but not using anys all over the place either

  • @blaisepascal3905
    @blaisepascal3905 17 วันที่ผ่านมา +1

    Nice video! What is you point of view regarding other programing languages that compile to JS (Elm or CoffeeScript), but also programming languages that compile to JS while being able to compile to another target suitable for Back-end (Nim and Gleam)?
    Edit: typos corrected

    • @adomakins
      @adomakins  17 วันที่ผ่านมา +1

      Man those sound cool! I use Svelte with Typescript and when you look at the JS in the browser it's all obfuscated with variable names like "c" or "j".
      So it does also compile the TS down to a very low-level looking JS
      But it would be cool to be able to write in a different language
      I think I'd try it out but it seems like there might be issues. Have you tried it out?

    • @blaisepascal3905
      @blaisepascal3905 17 วันที่ผ่านมา

      ​​@@adomakins I heard so much good feedback about svelt and I want to learn it 😍.
      Regarding the languages that compile to JS, I have only tried Nim so far (synthax similar to Python and compile to C/C++/Objective-C/JS). I am still a beginner and to understand it well I had to learn JavaScript and C first. It is quite a niche language and not well know. The JS output it produces are optimised and not human readable (I can't understand them at least). But overall people seems happy with the web frameworks available in the programming language (Karax, Jester, Happyx, etc.). As far as I know, the creator of the Exercism website used Nim to build it and they have described the process as fun.
      Regarding Elm (functional approach focused on the front-end) I also heard good feedback, but the graphic from GitHub you showed indicates that most people do not plan to use it again 😂. Regarding Coffeescript and Gleam I do not know much about them.
      Edit: Overall all of them do not have an extensive documentation since they are quite niche programming languages

    • @blaisepascal3905
      @blaisepascal3905 16 วันที่ผ่านมา

      @adomakins I heard so much good feedback about svelt and I want to learn it 😍.
      Regarding the languages that compile to JS, I have only tried Nim so far (synthax similar to Python and compile to C/C++/Objective-C/JS). It is quite a niche language and not well know. The JS output it produces are not human readable (I can't understand them at least). But overall people seems happy with the web framework available in the programming language (Karax, Jester, Happyx, etc.). As far as I know the creator of the Exercism website used Nim to build it and they have described the process as fun.
      The biggest issue is the lack of learning resources.

    • @ProsperEco
      @ProsperEco 16 วันที่ผ่านมา +1

      ​@@adomakins TH-cam won't let me answer with the above account so I will use this one. Here is what I tried to write previously:
      I heard so much good feedback about svelt and I want to learn it 😍.
      Regarding the languages that compile to JS, I have only tried Nim so far (synthax similar to Python and compile to C/C++/Objective-C/JS). It is quite a niche language and not well know. The JS output it produces are not human readable (I can't understand them at least). But overall people seems happy with the web framework available in the programming language (Karax, Jester, Happyx, etc.). As far as I know the creator of the Exercism website used Nim to build it and they have described the process as fun.
      The biggest issue is the lack of learning resources.

    • @adomakins
      @adomakins  16 วันที่ผ่านมา +1

      @@ProsperEco Gotcha. Yeah man and inevitably AI is going to struggle.
      Plus there are a lot of functions you call on in Svelte like { redirect } which I would imagine needs to be called by a JS/TS file.
      TypeScript isn't that bad apart from the compiler just not working or type checking not working occasionally lol

  • @vegetotownley
    @vegetotownley 18 วันที่ผ่านมา +2

    Golang self taught student and a hobby devoloper here, our teacher introduced us to JS and after 5 mins of using it I already thought its a useless and stupid language, then this video poped up, talk aboit convenient

    • @adomakins
      @adomakins  18 วันที่ผ่านมา

      Lmfao yeah dude compared to Go oh my not even close

  • @Seyfullah-mx3cq
    @Seyfullah-mx3cq 18 วันที่ผ่านมา

    Very nice video. JS is never hated enough, they should add lua or something to the browser standard that is actually viable to be used

  • @milesstripling373
    @milesstripling373 19 วันที่ผ่านมา +3

    My problem with js is that it’s a hammer. Works great on nails, i guess in a pinch it might work on a screw, but I wouldn’t use it to clean a window. All of these frameworks and libraries are enabling the hammer mentality and forcing every problem into a nail. When I’m reality, something like HTMX or Wasm allows you to use use any tool and turn it into a hammer for only nails, while still letting you keep your original tool for its intended purpose. Would you really want to create a high performance trading platform that handles millions of requests at low latency with Python? Absolutely not. Would you really want to build a static blog for recipes with Assembly on the backend? Absolutely not.

    • @adomakins
      @adomakins  19 วันที่ผ่านมา

      Yeah, fair point. I'm beginning to think Go is goated

  • @ashiqnuaiman
    @ashiqnuaiman 19 วันที่ผ่านมา +3

    Browsers should really switch to Dart.

    • @LyesTarzalt
      @LyesTarzalt 19 วันที่ผ่านมา +2

      This was the logical move after js instead of ts.

    • @adomakins
      @adomakins  19 วันที่ผ่านมา +2

      That would be wild. I think something like wasm makes more sense since you can write it in any language

    • @ashiqnuaiman
      @ashiqnuaiman 19 วันที่ผ่านมา

      @@adomakins i actually know very little about WASM, should take a look at it, currently dabblinh dart Jaspr,. And somehow it feels really really nice.

    • @ashiqnuaiman
      @ashiqnuaiman 18 วันที่ผ่านมา

      But really, Dart is such a beautiful lady. Purpose made for UI composition, can't emphasize it enough.
      Just how Go is for backends.

  • @falconsspark2991
    @falconsspark2991 19 วันที่ผ่านมา +2

    Yeah not a developer but i took classes in c++, python, sql, unix and js and JS doesnt get enough hate for being such a piece of shit language, id honestly rather write unix scripts than do anything in JS and unix made me want to punch holes in the wall. There is bound to be a bunch of front end developers in the comments to this video saying shit like "get good" or "skill issue" but your 100% right we need an alternative and they're just too lost to the brain rot that is programming in JS to see it.

  • @Lantos1618
    @Lantos1618 20 วันที่ผ่านมา +3

    TS is going to be phased out, JS. Most of these new frameworks are bad. also bro whats with flash bang coding theme

    • @adomakins
      @adomakins  20 วันที่ผ่านมา

      Lmao flash bang. It keeps me awake

    • @jdrab
      @jdrab 19 วันที่ผ่านมา +1

      It's scientifically proven, light themes are better for your eyes. It's your room lighting that can cause issues when you're coding. :D

    • @adomakins
      @adomakins  19 วันที่ผ่านมา

      @@jdrab 100%. Light mode during the day, dark mode at night. Otherwise it's harder to read

  • @pookiepats
    @pookiepats 19 วันที่ผ่านมา +1

    My feedback is this is really generic content that would be better served by condensing it and with more effort into your examples-salty bc your title excited me lol so. Nice work on titling

    • @adomakins
      @adomakins  19 วันที่ผ่านมา

      I disagree, I didn't find many videos like this so I wanted to make my own

  • @jasinAmsterdam1976
    @jasinAmsterdam1976 20 วันที่ผ่านมา +2

    Or......maybe ask yourself why you hate JS, you might just find the problem lies with you, instead of one of the main pillars of the internet, and for sure it is not going away 🤷🏽‍♂