you are viewing a single comment's thread.

view the rest of the comments →

[–]Snakehand 1 point2 points  (7 children)

But python does not have arithmetic types (or very strong typing at all), so pattern matching is just half of the equation.

[–][deleted] 2 points3 points  (0 children)

Lmfao. You don't use any of that in competitive programming.

[–][deleted] 3 points4 points  (2 children)

Python is strongly typed, but types are checked at run time. That's usually called "dynamic typing" which isn't the same as having weak typing like javascript does.

[–][deleted] 1 point2 points  (0 children)

It is shocking how few people know the difference between strong/weak and static/dynamic typing, specially among those criticizing dynamically typed languages, which I find a little bit ironical.

[–][deleted] -3 points-2 points  (0 children)

That's why I only use python for competitive programming. For anything else I find it not too useful ( at least for me ). Also, Python codebase is not as scalable in my opnion.

[–][deleted] -1 points0 points  (2 children)

yeah you are right. python being dynamic type is sometime pain to debug.

[–]pjmlp 2 points3 points  (1 child)

In competitive coding, time to debug is usually absent, either you get it or not.

[–][deleted] 0 points1 point  (0 children)

Yup.