Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Tuesday December 17, 2002
12:40 PM

Static Typing - give it a rest

[ #9513 ]
I read this on the Ruby ML just recently:

Static typing protects you from errors that you just never make...
- Dan Sugalski

Amen to that. I'm not sure why a language like Ruby draws folks who want to add static typing while a language like Perl generally doesn't. Maybe they fear bodily harm from the Perl folks. I wouldn't mind an optional typing system of some sort, but I can certainly live without it. You can always do tricks with hashes.

Maybe someone should port Params::Validate and then we can set up an auto-reply in the ML whenever the subject comes up. :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • There are people on perl6-language who keep making noises about adding static typing to the language, and, indeed it looks like Perl 6 will be getting type declarations. However, to my way of thinking those optional declarations are there for the same reason Common Lisp allows to to declare a typed variable; because you want to get a performance gain (if a variable *knows* it's going to be a foo then you can make useful optimizations based on that.)
  • --

    broquaint out