Tim Holloway wrote:. But a strong-typed compiler would have flagged the defective code before I tried to run it. Or commit it to the production server.
Monica Shiralkar wrote:But would IDE like IntelliJ not show this in red? I see it showing in red for syntax problems.
Jesse Silverman wrote:Tim, if your operation was % or * you would have gotten a runtime string formatting error because your format tuple wasn't the right type, or 1.021.021.021.021.02 perhaps!
Monica Shiralkar wrote:I have seen that when people from Java background start working on Python they mistakenly keep saying main method whereas in Python it is not main method but main function.
Jesse Silverman wrote:
In Python, five members of the same class could potentially all have different data members -- not different values, but different *members*.
That can never happen in Java/C++/C#, the name of a class tells you all the data members any instance of it will ever have....