So what? Thats a handy tool to have in the hands of an experienced programmer. So what do YOU think of Perl's automatic type handling? As a fairly long time user, I can say it makes programming alot easier, rather than being forced to make casts and lines of empty prototype specifications.Consider another example : open( my $FILEHANDLE, '<', 'myfile.txt' ); $a=<$FILEHANDLE>; #<> returns just one line open( my $FILEHANDLE, '<', 'myfile.txt' ); @a=<$FILEHANDLE>; #<> returns the whole file contents the diamond operator returns different values depending on the context +.
Now it does slow processing, to have the program itself, determine variable types, but when you need speed, you can always reach for C or Fortran. ( and call it from Perl thru IPC :-) )
In reply to Re: Strong typing and Type Safety.A multilanguage approach
by zentara
in thread Strong typing and Type Safety.A multilanguage approach
by nikosv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |