Good old Udemy Elixr/Pheonix courses being irrelevant within 6 months but still trying to con people by saying they’re updated to current year.

  • rockSlayer@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    12 hours ago

    It’s even happened to me with python. I stepped away from programming for a while and now all the guides are about 3.8 while the version on trixie is 3.13

    • JasonDJ@lemmy.zip
      link
      fedilink
      arrow-up
      22
      ·
      edit-2
      11 hours ago

      Has python changed that much for a new learner that a 3.8 tutorial is worthless in 3.13?

      I don’t think so…there’s new features that wouldn’t be taught, but most everything from Hello World to decorators and lambdas were present in both.

      Now, if you have a python 2 guide…yeah. That’s worthless. That shows its flaws during “Hello World”.

      • Artyom@lemm.ee
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        edit-2
        10 hours ago

        Python 3.11 onwards can basically be a fullystatically typed language, which is a pretty dramatic change in where you spend most of your time. Python 3.13 allows you to do multi threading as a compiler option, we might see native multi threading in 3.14 or 3.15 (or maybe that’s a 4.0-worthy feature honestly)

        • ThotDragon@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          10
          ·
          edit-2
          9 hours ago

          Python now has type hints, which are not the same as static typing. Those hints do not change program operation. See https://peps.python.org/pep-3107/

          You can pass a string to a function parameter annotated as int and Python will happily accept it (assuming the function does not attempt to call a method that a string doesn’t have).

      • rockSlayer@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        11 hours ago

        Well the last version I was actively using was 3.6 and the shiniest new feature I remember is switch cases from 3.7, so yes it has for me

        • JasonDJ@lemmy.zip
          link
          fedilink
          arrow-up
          7
          ·
          11 hours ago

          Well. Yeah, if you want to learn the shiniest new features, you’ll need the shiniest new references.

          But for a new user, for whom Python is probably one of the first languages they learn, a 3.8 reference won’t give them much trouble for a while.

          I say this as a novice Python user tho.

          • rockSlayer@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            10 hours ago

            I believe it! One glimpse at the latest docs tells me that every major builtin library I knew is depreciated or gone. I’m not even sure if secrets is still the correct encryption library. Honestly I might have to start fresh with Python like it’s a new language