Re:Python squeezes out JavaScript, C as best starter program...
by the_af on Saturday January 25, 2014 @05:46PM
(#7122864)
> There's no chance of an error when they say "i = 'abc'", if you've defined i to be an int.
Probably you mean no chance of a compiler/interpreter error, because the program almost surely will not do what the rookie meant, much to his/her surprise. That's an error in my book :)
I agree with the rest of the benefits of Python as a beginner language.
Probably you mean no chance of a compiler/interpreter error, because the program almost surely will not do what the rookie meant, much to his/her surprise. That's an error in my book :)
I agree with the rest of the benefits of Python as a beginner language.