I know this is a no-no but the point is this is no problem in perl. In python you need to convert the data into int. I think a scripting language should handle this for the programmer. python also has a datatype "None" which is very annoying. It can be very annoying when you get data returned from a subroutine that is data-type "None" and then you need to figure out how to get it back to a string. That's python. Python also seems to take away the Perl feature of "There's more than one way to do it". I like this feature and I think a lot of Perl programmers do too.x = " 10 " # spaces in the declaration y = 5 z = x + y
In reply to Re^2: Perl VS Python (no VS)
by Anonymous Monk
in thread Perl VS Python
by supernewbie
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |