An After-School Program Teaches Teens Java and Python::The students also learn how to design board games and video games

  • pivot_root@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    8
    ·
    1 year ago

    Back when I was in school, corporal punishment was the norm. I would still prefer that over Java.

    • aluminium@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      1
      ·
      edit-2
      1 year ago

      I think Java is still a good language for beginners. The tooling around it is really good and it catches lots of issues at compile time.

        • aluminium@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          arrow-down
          1
          ·
          1 year ago

          I seriously don’t get why Python is so popular for learners. Its a weird ass very isolated language syntactically. The libraries for it are great but still.

          • Linkerbaan@lemmy.world
            link
            fedilink
            English
            arrow-up
            9
            arrow-down
            5
            ·
            1 year ago

            Because it dared to change the shitty syntax of bad syntax languages so humans can actually read it.

            • aluminium@lemmy.world
              link
              fedilink
              English
              arrow-up
              7
              ·
              edit-2
              1 year ago

              Its probably bias to what you are used to the most. I think for example copy pasting stuff around in C like languages is way easier than the tab mangling one has to perform in python.

              Also python has so plenty of bizarre (i.m.o. not very readable) syntax beyond that. Like

              def __init__(self) : for a constructor

              the most verbose lambda syntax for something that should make it less verbose to inline functions def x = lambda x: x + 1

              logical operators being words while numerical and comparative ones aren’t def x = not a or (b <= c)

              private methods not really existing thus needing underscores as a crutch

              I don’t wanna hate on python, the ecosystem and libraries around it are amazing but people saying python is the gold standard in terms of syntax and “readability” is questionable i.m.o… There also is a reason why many of new modern hyped languages (which don’t have to abide to backwards compatibility to some other language like mojo) like Rust, Kotlin, Go, Zig, and Swift are C style langs.

          • Free Palestine 🇵🇸@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            3
            ·
            1 year ago

            JavaScript sometimes can be weird as hell. That’s why I prefer Python. I don’t know, for me it seemed logical from the beginning. Java definitely ain’t better.

        • FourThirteen@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          3
          ·
          edit-2
          1 year ago

          Java is absolutely not dying… unfortunately. Billions of people depend on spaghetti code written by corporations every day. I think Java will be the next COBOL. It won’t die and it’s unfortunate.

    • kaffiene@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      1 year ago

      Java is a great language. Still one of the most used languages in the world. Ditto python