[HN Gopher] The Rule of Three
___________________________________________________________________
The Rule of Three
Author : tdmckinlay
Score : 42 points
Date : 2021-07-09 11:52 UTC (1 days ago)
(HTM) web link (tips.ariyh.com)
(TXT) w3m dump (tips.ariyh.com)
| zwieback wrote:
| Destructor, copy constructor and assignment operator!
| MaxBarraclough wrote:
| Retro. With move semantics, it's all about the _Rule of 5_
| these days.
| [deleted]
| joshuaheard wrote:
| Bill Clinton used to use three words to advocate, usually with
| the same first letter. For instance, in a recent speech, he
| warned that the opposing candidate would "blame, bully and
| belittle" and that he would be "denying, distracting, and
| demeaning". Of course, Biden's slogan is "Build back better".
| lisper wrote:
| Spiro Agnew anticipated both Clinton and Biden by a couple of
| decades with "nattering nabobs of negativism."
| jamesgreenleaf wrote:
| I noticed this on a box of Diamond Crystal brand kosher salt.
|
| You can tell they were really reaching for that third bullet
| point to list on the side of the box:
|
| - No Additives (Just Salt!)
|
| - Kosher for Passover
|
| - Sticks to food well
|
| I like to imagine they held a serious design meeting about it.
| samat wrote:
| Third one is true and verifiable and actually useful for cooks
| :)
| zabzonk wrote:
| I honestly thought this was going to be about C++:
|
| https://en.cppreference.com/w/cpp/language/rule_of_three
| spidersouris wrote:
| I guess it derives from the rule of three in writing[1]. It's a
| shame the article doesn't even mention it.
|
| Some famous examples include:
|
| Veni, vidi, vici (Jules Caesar)
|
| Ready, set, go!
|
| Life, liberty, and the pursuit of Happiness (Jefferson's draught
| of the US Declaration of Independence)
|
| [1] https://en.wikipedia.org/wiki/Rule_of_three_(writing)
| sdenton4 wrote:
| "And Saint Attila raised the hand grenade up on high, saying, 'O
| Lord, bless this thy hand grenade, that with it thou mayst blow
| thine enemies to tiny bits, in thy mercy.' And the Lord did grin.
| And the people did feast upon the lambs, and sloths, and carp,
| and anchovies, and orangutans, and breakfast cereals, and fruit
| bats, and large chulapas. And the Lord spake, saying, 'First
| shalt thou take out the Holy Pin. Then shalt thou count to three,
| no more, no less. Three shall be the number thou shalt count, and
| the number of the counting shall be three. Four shalt thou not
| count, neither count thou two, excepting that thou then proceed
| to three. Five is right out. Once the number three, being the
| third number, be reached, then lobbest thou thy Holy Hand Grenade
| of Antioch towards thy foe, who, being naughty in My sight, shall
| snuff it.'
| Thoreandan wrote:
| Came to comments to find this. Left satisfied.
|
| Obligatory discussion of OP: "This research could be disproven
| in the future (although this is rare)" ... sounds like
| "irreproducible results".
| mkaic wrote:
| Now THIS is the sort of high quality discussion I come to HN
| for!
| ram_rar wrote:
| Is it just me or this website awful to read. Substack needs to up
| its UX.
| tux3 wrote:
| That is a terrible thing to research, and potent fuel for
| cynicism, but thank you for the data, that was interesting =)
| cardy31 wrote:
| That site is awful on mobile. I can't tell what is part of the
| story and what is an ad!
| mtVessel wrote:
| It's not just on mobile.
| Yajirobe wrote:
| no examples?
___________________________________________________________________
(page generated 2021-07-10 23:00 UTC)