4 ms·
> Perl is awesome for writing big programs in. This isn't even remotely true. No static types, no thank you. Runtime errors due to misspelled methods? Missing
by ionforce 11y ago
> Perl is awesome for writing big programs in.
This isn't even remotely true. No static types, no thank you. Runtime errors due to misspelled methods? Missing hash keys? Hilarious.
Boy, I hope this scalar isn't undefined!
- kbenson 11y agoThen you might be pleasantly surprised to learn that Perl 6 has a type system and compile time errors functions (but methods are runtime errors - on purpose). As for missing hash keys... It sounds like you are using a hash when you really want an object. There are cases where that's preferable, but part of that trade-off is that you need to make sure the data is as you expect it. Perl 6 supports tightly packed (C struct equivalent) objects if you choose.
- Mithaldu 11y agoYou don't write a lot of tests, do you?
- deleted 11y ago[deleted]
- esaym 11y agoCompile time checks are not a replacement for a good test suite.