I have a question about enforcing type safety in Perl. We all know that Perl is a weakly typed language, with all that implies for larger projects. I was reading about Class::Struct, and Class::Contract. I am unsure about a keypoint: Do these modules enforce type safety, and thus if I were to start a "large" project, with many people, that Perl would still be a viable choice? I am still digesting "Design by Contract" that is enforced by Class::Contract, but I was still wondering...
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen
wisely..."
In reply to Class::Struct, Class::Contract and type Safety by chorg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |