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.

  • ThotDragon@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 months 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).