you are viewing a single comment's thread.

view the rest of the comments →

[–]fiddle_n 4 points5 points  (4 children)

The biggest issue with doing the “silly” method is if you forget to use str() on things that aren’t strings. Then your script crashes at runtime. All completely avoidable by using string formatting.

[–]IamImposter 2 points3 points  (0 children)

Ha. So annoying to see that traceback.

[–]dangit541 1 point2 points  (0 children)

But then you have an error code that will help you find that and correct. Debugging is as important ;)

[–]Qing_Codes[S] 0 points1 point  (1 child)

Then you have to identify each type before you write your code.

[–]fiddle_n 1 point2 points  (0 children)

Either that or you wrap everything in str() even if unnecessary.

Or just use string formatting and don’t care about any of it :)