better code readability

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

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

  • @HoangDuck666
    @HoangDuck666 3 дня назад +27

    that why i love js, it can be automatic format, not like python

    • @kexec.
      @kexec. 3 дня назад +9

      lol syntax is nothing compare with incomplete error handling

    • @_sleepy-
      @_sleepy- 2 дня назад +12

      Anyone who loves js either is new to programming or only knows js

    • @HoangDuck666
      @HoangDuck666 2 дня назад +2

      @@_sleepy- skill issue

    • @_sleepy-
      @_sleepy- 2 дня назад

      @@HoangDuck666 I program in javascript for work I promise you it's terrible

    • @test-zg4hv
      @test-zg4hv 2 дня назад

      ​@@_sleepy- been writing code for like 10 years and I do that as a job for a couple years now. I love js. depends what you mean by that though. You can do a lot with it

  • @ahmed51298
    @ahmed51298 2 дня назад +7

    SEMICOLONS ARE THE BEST!

    • @Om4r37
      @Om4r37 19 часов назад

      pfp checks out

  • @harimaulana11
    @harimaulana11 11 часов назад

    Meanwhile... Java 💀

  • @MPVijay-nq7dy
    @MPVijay-nq7dy 3 дня назад +8

    Can we use semicolon or don't??

    • @HoangDuck666
      @HoangDuck666 3 дня назад +6

      yes

    • @ziolkoplays
      @ziolkoplays 3 дня назад +3

      You have to

    • @lukajovanovski1178
      @lukajovanovski1178 3 дня назад +5

      They dont actually do anything. I code with semicolons bcs of habits but everytime my mentor for my js course comes he fixes something and doesnt use semicolons

    • @Hacking-Kitten
      @Hacking-Kitten 3 дня назад +2

      I never do. Only exceptions are inline functions that are directly called and have followup functionality. You need a semicolon there.

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

      I personally use semicolons.
      That's because for work, I use C# primarily. So it just keeps it consistent. But even at work I notice that when it comes to JS everyone has their own preferences with semi-colons.
      I come across sections that every single command has a semi-colon and others where you would never see a semi-colon outside an in-line function.

  • @Mr_FloopaMan
    @Mr_FloopaMan 3 дня назад +4

    The cat ABE LIKE: *Clash OF AUTOMATIC DOOR*

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

    Coming from C, C++, Java, I just have to close my statements with a semi-colon, I don't know if it's required or not but I just do.

  • @Gabrielifh
    @Gabrielifh 2 дня назад +1

    what about php?