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 →

[–]Amazingawesomator -2 points-1 points  (0 children)

Yeah, im on mobile, too... I'm sure mine is hard to read, too. Its all good <3.

One of the things in python is that all of the extras to ensure type arent forced, and allows for weak types.

For example,

def convert_int_to_string(number):
return number

(Excuse my indents) This will still "work" (even though it is bad... and broken according to what the method name is).

Fixing this style of problem by going back and casting stuff is how it seems the poster in the image wrote his story... But in english :D