Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Are the words "strict" and "warnings" too negative?

by Anonymous Monk
on Sep 03, 2019 at 19:56 UTC ( [id://11105527]=perlmeditation: print w/replies, xml ) Need Help??

#!/usr/bin/perl # # Q: Are the words "strict" and "warnings" too negative? # A: Synonyms from Moby Thesaurus II @ use strict; use warnings; my @strict = strict(); my @warnings = warnings(); while () { print $strict[int(rand(@strict))], ' ', $warnings[int(rand(@warnings))], "\n"; sleep 2 } sub strict { return split /,\s+/, qq/Sabbatarian, Spartan, Spartanic, absolute, absolutist, absolutistic, accurate, arbitrary, aristocratic, arrogant, aspersion, astringent, attentive, austere, authoritarian, authoritative, autocratic, bigoted, bossy, careful, censorious, choicy, choosy, circumscription, close, cold-blooded, complete, compulsive, confining, conscientious, constant, constrictive, correct, cramp, creedbound, critical, defined, delicate, demanding, despotic, detailed, dictatorial, direct, discriminating, discriminative, dogmatic, domineering, dour, draconian, evangelical, even, exact, exacting, exigent, express, exquisite, faithful, fastidious, feudal, fine, finical, finicking, finicky, firm, forbidding, fundamentalist, fussy, grim, grinding, hard, hard-boiled, harsh, hidebound, high-handed, hyperorthodox, imperative, imperial, imperious, inerrable, inerrant, infallible, inflexible, ironhanded, just, limitation, literalist, literalistic, lordly, magisterial, magistral, masterful, mathematical, meticulous, micrometrically precise, microscopic, minute, monocratic, narrow, nice, obloquy, oppressive, overbearing, overconscientious, overruling, overscrupulous, particular, peremptory, perfectionistic, picky, pinpoint, pitiless, precise, precisianist, precisianistic, precisionistic, priggish, prudish, punctilious, punctual, purist, puristic, puritanic, puritanical, refined, reflection, religious, religiously exact, repressive, right, rigid, rigorist, rigorous, rugged, ruthless, scientific, scientifically exact, scrupulous, scrutinizing, selective, sensitive, severe, slam, slur, square, staunch, stern, stint, straitlaced, stricture, stringent, subtle, suppressive, tender-conscienced, thorough, tough, tyrannical, tyrannous, uncompromising, undeviating, undistorted, unerring, unsparing, unsympathetic, veracious, veridical/} sub warnings { return split /,\s+/, qq/admonishing, admonition, admonitory, advice, advising, advisory, advocacy, alerting, augural, blackmail, briefing, bulldozing, call, call for, caution, cautionary, cautioning, caveat, claim, clue, commination, consultation, consultative, consultatory, contribution, council, counsel, cue, demand, demand for, denunciation, determent, deterrence, deterrent, didactic, direction, directive, draft, drain, duty, empty threat, exaction, exemplary, exhortation, exhortative, exhortatory, expostulation, expostulative, expostulatory, extortion, extortionate demand, foreboding, forerunning, foreshadowing, foreshowing, foretokening, forewarning, frightening off, guidance, heavy demand, heavy with meaning, hint, hortation, hortative, hortatory, idea, idle threat, imminence, implied threat, imposition, impost, indent, indicative, insistent demand, instruction, instructive, intimidation, intuitive, levy, meaningful, menace, monition, monitorial, monitory, moralistic, nonnegotiable demand, notice, notificational, notifying, office, opinion, order, parley, passing word, pointer, preachy, precursive, precursory, predictive, prefigurative, preindicative, premonitory, presageful, presaging, prognostic, prognosticative, promise of harm, proposal, recommendation, recommendatory, remonstrance, remonstrant, remonstrative, remonstratory, requirement, requisition, rush, rush order, sententious, significant, steer, suggestion, sword of Damocles, talking out of, tax, taxing, thought, threat, threateningness, threatfulness, tip, tip-off, tribute, ultimatum, whisper/}

Replies are listed 'Best First'.
Re: Are the words "strict" and "warnings" too negative?
by holli (Abbot) on Sep 03, 2019 at 21:06 UTC
    Go ahead, put it in a module.
    use straitlaced;
    Love it :-)


    You can lead your users to water, but alas, you cannot drown them.

      That's definitely far more negative than strict, which is often used in a complimentary manner.

      If I were looking for a positive spin, I'd look for something that meant error-reducing.

Re: Are the words "strict" and "warnings" too negative?
by tobyink (Canon) on Sep 06, 2019 at 09:42 UTC
Re: Are the words "strict" and "warnings" too negative?
by Jenda (Abbot) on Sep 10, 2019 at 20:15 UTC
    use snowflake;
    Useless use of use at line 1

    There is no use for a snowflake, it just breaks anything that works.

    1984 was supposed to be a warning,
    not a manual!

Re: Are the words "strict" and "warnings" too negative?
by Anonymous Monk on Sep 06, 2019 at 17:31 UTC
    Is the word NULL too empty?
Re: Are the words "strict" and "warnings" too negative?
by Anonymous Monk on Sep 03, 2019 at 23:31 UTC
    Node Type: poem
    Approved by holli
    Considered: afoken: garbage - or I don't get it
    Dear afoken,

    This is a meditation on the need to type somewhat negative words at the top of every perl script. Does this have negative consequences for advocacy? I don't know but synonyms for "warning" include "promise of harm," "frightening off," and "talking out of;" and words matter to the mind. How about a nice happy pragma that aliases strict and warnings, without sounding too scary, and has a more positive meaning like maybe: "use perl".

    Sincerely, Anonymous

      Dear Nobody,

      Without an inviting predicate, a citation of what “negative” is to mean here, some kind of context, or an identity attached I think it is the kind of driveby newthink, semantic whitewashing, manipulative, safespace, pablumizing horseplay—not synonyms for garbage but I’m trying to meet you half-way—that I am embarrassed to be around or associated with. I can’t tell this kind of thing from trolling without context. On that note, I am nicer to named monks. When this was considered, I voted to receive, obtain, get, acquire, secure, bring in, realize, derive, procure.

      Mrs Dr Thy Mother, née :P Grumpybritches-Toddlewitch

      A reply falls below the community's threshold of quality. You may see it by logging in.

      Why didn't you put that info in the OP? We can't read your mind.

      Of course, if you were logged in, you could go and edit the post to make it better.

      A reply falls below the community's threshold of quality. You may see it by logging in.
      ... a nice happy pragma ...

      Like   useModern::Perl;   maybe??? (We're already using perl :)

      Update: sez Moby Thesaurus sez use is synonymous with "abuse", "bad habit", "bleed", "bleed white", "exploit", "impose", "impose upon", "ravages of time", "ritual", "stereotype", "use ill", so maybe we need to adopt a synonym for use; "include" is nice and positive. :)

      Give a man a fish:  <%-{-{-{-<

        > use is synonymous with "abuse"

        I'd like to alias abuse to use ...

        The new keyword would make the code of some colleagues much clearer.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      If this is one of the things that worry you then maybe you oughtn't be out in the wild and (pretending to be) programming. You ought to sit quietly painting colorful paintings (using eco-bio-fairtrade-organic pigments only) in a well padded safe zone.

      By the way programs in Visual Basic tend(ed) to start with

      Option Strict Option Explicit

      Sounds kinda BDSMish.

      1984 was supposed to be a warning,
      not a manual!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11105527]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-05-21 01:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found