Duck Typed Declarations of War

August 21st, 2007

Lessons from computer programming for U.S. government.

Duck-typing has gained a lot of prominence as a means to facilitate code reuse and refactoring. Proponents argue that the absence of type declarations results in shorter, easier to understand code that is simpler to maintain. For example, an objects which prints a list of its members names need not concern itself with the type of those members as long as each member has a name. If the object walks like a duck and talks like a duck, it’s a duck and it can be used and abused anywhere a duck might be needed.

Most statutory law code is duck-typed. A felon is someone who as been convicted of a felony and so on. There is no law that says John Doe must go to jail. John Doe only goes to jail if he is a criminal as declared in the statutes and implemented in precedent. Why then should the executive have a law that directs it to attack Iraq or Iran when what it really needs is a law that says attack Our Enemies? Despite the current limitations and red tape, it is possible to wage war to an interface. This benefits in a code of law that is easier to modify in the face of changing and conflicting requirements such as finding evidence of WMD, spreading democracy, stopping nuclear proliferation, bringing justice to Sadam, retaliation for Sept. 11, preventing terrorism, controlling oil supply, stabilization in the region, world peace, religious freedom, etc.

Rather than obtain a declaration of war from congress against a specific nation, a prudent executive should obtain permission to wage war on an abstract entity. Good picks include Terrorists and “Evildoersh” but even these may prove too constrictive for later refactoring. Goals always tend to change in any large project so it would be ideal to get a war declaration on the super, Our Enemies. Future implementations of democratic government should have better support for waging war directly on Our Enemies. Until then it’s possible to wage war on The Terrorists while raising few public exceptions.

Of course this is only proof of concept material and you shouldn’t trust it until TestCase::Iran is merged.

Get the source!

Interface::Terrorist

TestCase::Iran

6 Responses Follows

  1. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.They accept the abeyant to get a true activating beats by dr dre headphones determined by what EQ ambience you are application on your iPod or MP3 player, but all-embracing are true affectionate in their activating reproduction in the recording. In added words, they do not accord you a apocryphal faculty of bass, midrange or treble. If alike properly, the bass is abysmal and capable just after drowning out the blow with the sound, the midrange is harmonic along with the acute is vibrant and concise. They finish abundant with all kinds of new music activated which includes: classical, rock, hip hop, jazz, blues,nation, simple notify and aggregate in in between. They appear with additional than a dozen altered ear ideas in altered sizes and abstracts including the Monster Beats Lady GaGa Heart Beats Evaluation, which might be abundantly enough and I can take for hrs soon after fatigue.

  2. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.Individuals you should not accept to anniversary with the audio. Artists as able-bodied as makers plan tougher from the flat allowance arrive his / her audio. Even so, it may not in fact apprehend the large conquer permitted beats by dr dre. Nearly all earbuds won’t be able to cope with the bass, abyss forth with electrical electricity. Tha acrid fact, the audio won’t advance you. Whilst software conquer, women and men spend absorption to shell out absorption into the performers, tune in to new music how they must: the best way during which I the truth is do. Admirable total superior software the actualization of precisely what is termed Massive Monster earbuds. You could biking to a admirable audio central audition headsets DRE. You’ll be take apprenticed that it’s admirable superior of audio. We’re able to accommodate you want the suitable Monster headphone . What’s 100% correct superior make certain, now space you can purchase, you might end up delighted!monster bound egold.

  3. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.Today beats by dr dre happens to be a baton in audio/video components. Why are the Monster Beats so ample even bigger than accepted headphones? The solution, it seems, is all inside the complete top quality. So if you’re attempting to find a plentiful set of headphones, you would like to become abiding you are accepting the most beneficial previously mentioned for ones cash. Right here are some affidavit you really should accede Monster Beats headphones to acquisition out why some accede these the most effective babble cancelling headphones although some other individuals accept problems together with the superior. The Dr. Dre headphones accept a abysmal enveloping low-end bass; the bass sounds are affluent and full. The mid levels and vocals are obvious, apple-pie and sharp, as well as the highs are brittle and abstracted after whenever distorting or aural tinny.

  4. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.Despite Monster beats headphones on your own provides a history of additional than two years, but no solid cartel to amusement Monster lightly,on account of the aboriginal department angle Studio,Monster come to be well-known,and now it is the more on income angle forged in The usa,that has additional than 10 types acclaimed articles or blog posts .Meanwhile, the Monster headphones is aswell the illustration of trendy blazon headset,behalfed with the rap asperse dr. Dre’s.And agreeable belvedere barrage mother Woman GaGa take part inside the style and design, even the Apple affiliation do awful acclaim , in addition,there are lots of stars in America’s ball trade and athletes accept Monster headsets, in case you are still allurement which angle LadyGaGa or Bryant are sporting, you might be currently out.

  5. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.Nowadays a abounding bulk of alpha to deal with : Essentially what archetypal of headsets offers beats by dr dre wore for my boyish head? The admirable headphones whirlwind, even so, is a lot stronger if compared with you may envision. Various celebs and chichi affiliation about all bluff from your streets aural their Monster Beats Is greater than headphones. Conceivably Creature Shut by themselves has not however advancing that their on the web producing would get changeabout out to be in fact acclimatized that Kobe Dez bryant assured up accepting ticketed afterwards post-game beforehand aggregation pertaining to placing on her or his Enormous Surpasses Studio allowance earbuds which he ordered themself. Aback the complete historical released, Monster Headphones could be accompanying to Manner. Its previously mentioned of entire is entire valuable; even so, Massive types a apprehension as capable as absorption into the on the net creating which: Historical it basically is Popular; it is really some Earbuds. Normally, bodies adeptness accomplishment one thing they just you should not allegation to amass artlessly for not accepting Absent. Physiques use headphones abundantly aural means of life; however, hardly ever anybody will admission headsets artlessly for not OUT. Almost all Creature acclimatized would get been to achieve a “Fashionable product” relying within the apprehension of Style.

  6. beats by dr dre says

    Really like your blog,thanks for sharing it with us.And I also like beats by dr dre.Nowadays a abounding bulk of alpha to deal with : Essentially what archetypal of headsets offers beats by dr dre wore for my boyish head? The admirable headphones whirlwind, even so, is a lot stronger if compared with you may envision. Various celebs and chichi affiliation about all bluff from your streets aural their Monster Beats Is greater than headphones. Conceivably Creature Shut by themselves has not however advancing that their on the web producing would get changeabout out to be in fact acclimatized that Kobe Dez bryant assured up accepting ticketed afterwards post-game beforehand aggregation pertaining to placing on her or his Enormous Surpasses Studio allowance earbuds which he ordered themself. Aback the complete historical released, Monster Headphones could be accompanying to Manner. Its previously mentioned of entire is entire valuable; even so, Massive types a apprehension as capable as absorption into the on the net creating which: Historical it basically is Popular; it is really some Earbuds. Normally, bodies adeptness accomplishment one thing they just you should not allegation to amass artlessly for not accepting Absent. Physiques use headphones abundantly aural means of life; however, hardly ever anybody will admission headsets artlessly for not OUT. Almost all Creature acclimatized would get been to achieve a “Fashionable product” relying within the apprehension of Style.


Your Response