Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Erm, let's look at that statement in its original context..

Musashi was a swordsman -- a warrior. His job was to kill other people before they killed him. And like any decent military strategist, he knew he'd have a much better chance of doing that if his opponents couldn't predict his moves well enough to put a sword right where he was about to duck.

(And speaking of ducks, we fossils who grew up with Daffy Duck cartoons will remember Daffy's immortal performance as Robin Hood: "Ho! Haha! Guard! Turn! Parry! Dodge! Spin! Thrust!", and what happened when Porky caught him at "Spin!" the second time around)

But since when is programming a mutually-antagonistic field?

Sure, there are some good, direct corollaries to Musashi's admonition in areas like cryptography: don't use a Linear-Congruential Random Number Generator for hard encryption, because the numbers it generates have a tendency to clump when graphed in multiple dimensions.. in other words, the LCRNG has a 'favorite' set of lattice points from which it likes to choose numbers. That makes it more predictable, and thus weak in an antagonistic setting.

Most software development isn't antagonistic, though. We tend to cooperate with each other, to the benefit of all. The whole point of the open source movement is to lay things out so everyone can see what we're doing, and the strong growth of open source development suggests that the idea has legs.

In a cooperative environment, predictability can be a Good Thing. We call it 'standardization', and it keeps us from having to solve every problem from the ground up every time. Heck, even in cryptography, the experts prefer to use a known algorithm over a new one, because they've seen the old one stand up to more types of attack.

Now, I realize that getting too perky about standards can lead to stagnation, and I'm a big fan of reinventing the wheel just to be sure that you can. I appreciate the value of diversity, and dislike seeing people work themselves into a religious fervor over the glory of a monoculture.

That ain't what Musashi was talking about, though.. he was talking about how to fillet others before they kebab you.

So let me return an aphorism for an aphorism:

Be sure of your objective before planning your strategy.
Be sure of your strategy before choosing your tactics.

In reply to Re: Favorite Weapons by mstone
in thread Favorite Weapons by RhetTbull

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (6)
    As of 2014-08-20 05:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (105 votes), past polls