[Edinburgh-pm] a Perl surprise
Aaron Crane
perl at aaroncrane.co.uk
Thu Jul 19 04:06:30 PDT 2012
Jeff Parsons <bynari at gmail.com> wrote:
> Eek. Robustness isn't about stopping other programmers from making syntax
> errors.
Well, it's certainly not entirely about that. But an API that's hard
to misuse and easy to use correctly is a great boon when trying to
build and maintain systems that must behave as intended. And, as
Nick's observed, it's all too easy for something like `sub with ($) {
... }` to be accidentally misused in ways that aren't easy to detect
in either the caller or the callee.
--
Aaron Crane ** http://aaroncrane.co.uk/
More information about the Edinburgh-pm
mailing list