I thought they were joking, but my co-workers have started using the
--i-am-a-dummy command line flag on MySQL's SQL shell.

"A useful startup option for beginners is --safe-mode (or
--i-am-a-dummy for users that has [sic] at some time done a DELETE
FROM table_name but forgot the WHERE clause."

It would be interesting if Perl had something similar. Its a
different flavor than the usual strict and warnings, which are geared
towards more experienced users and in general don't restrict
functionality. use warnings qw(beginner); (aka Ima::Dummy) would try
to save new users from themselves. Perhaps warning on things like
loops going beyond a million iterations.

The beginnings of this sort of thing can be seen in the Dunce::Files
module and Simon's proposed Safety::First.

Just throwing it out into the collective consciousness, haven't
thought it through very far yet.


Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One
Do you actually think about what you are saying or is it an improvisational
game of Mad Libs that you play in your head?

Search Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-language-strict @
postedMay 4, '01 at 7:38p
activeMay 4, '01 at 7:38p

1 user in discussion

Michael G Schwern: 1 post



site design / logo © 2018 Grokbase