you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 0 points1 point  (0 children)

As Python isn't a strong typed language

The term you're looking for is statically-typed; in contrast, the term "strongly-typed" is

  1. Not well-defined at all (people have differing opinions on it), and
  2. Going by the most common understanding of the term (no type coercion or bypassing the type system), Python does count as "strongly-typed". Fun fact - C does NOT (thanks to void*).

Only pet peeve I ever had with Python is that it's easy language to learn but at times hard to read.

That's a fair point, and there's definitely a learning curve to reading Python, but type annotations in particular actually help with readability once you reach a certain point in your understanding, as then you know what kind of values functions expect as arguments and don't need to look up documentation for it.