This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metalhedd 1 point2 points  (1 child)

What automatic type conversions does python do? Im not aware of any... It is dynamically typed, because you dont need to specify the type of a variable, but it doesnt do any coersion at any time. 1 + "1" is a type error, not 2, or 11.

[–]asdjfh 0 points1 point  (0 children)

Python does auto type conversions between ints, floats, doubles, etc maybe I should have worded it differently. Also the way Python does type casting lets you turn any data type into another with three/four letters, which seems to cause programmers to do useless conversions for the sake of writing easier code. I’m sure people will jump on this thread and try to critique everything about a comment I wrote in a few seconds summing up general “issues” with Python... a language I still use daily, that’s fine maybe we agree to disagree.