"I have previously believed that object orientation was a derivative of Biology"

In reality, anything can be related to anything else, if one forces things enough.

I know plant biology exceptionally well. I create my own cannabis strains for example.

My "Spiceberry" strain can be looked at as a form of object orientation.

Spiceberry was created by breeding a Blueberry female plant (Indica dominant (80% Indica, 20% Sativa)) with an Afghani #1 male plant (100% Indica). This breeding selection process was across hundreds of plants to find the right parents. So far, we're here:

spiceberry | |- isa blueberry | |- isa indica, sativa | |- isa AF#1 | |- isa indica

After three years of breeding out plants to find the parents that had the exact features I wanted, I then cross bred the two parents hundreds of times to hone in on ensuring only the traits are desired are present, and those I don't want, aren't.

Although there is a ton of terminology and other jargon for these processes, simplicity is best.

In the end:

spiceberry | |- isa blueberry | |- isa indica, sativa | |- has sweet taste |- has short, bushy growth profile |- has purplish colour tones in the bud |- has smooth flavour |- has lots of crystals | |- isa AF#1 | |- isa indica |- has paranoia reducing properties |- has strong, fuel-like odor |- has restless leg syndrome calming effects |- has tight, dense bud qualities |- has very colourful flowering properties |- has very short growth profile

So by breeding out the two plants, I inherit the best from both plants. By breeding the way I do, I remove the traits I don't like so I am guaranteed they will never show up. In programming, we simply ignore the stuff we don't want by not using it, or even override it. The traits that I don't like in one strain, I sometimes literally override it with that trait in the other plant.

Don't know why I put all that together, but meh, I'm bored.


In reply to Re: The Basques introduced us to object orientation? by stevieb
in thread The Basques introduced us to object orientation? by betmatt

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.