RFC 451 (was [OT] Auto code reformating / one coding style enforcment)

Pragma ericanderton at yahoo.removeme.com
Tue Aug 15 08:15:56 PDT 2006


kris wrote:
> 
> D RFC 451: A Proposal To Save American Wrists and Minds
> -------------------------------------------------------
> 
> It has recently been shown that extensive use of the space-character 
> encourages spatial disorientation, conceptual difficulties, left-brain 
> degradation, a general loss of well-being, and the historic "Repetitive 
> Repetitive" syndrome. The tab-key was invented as a measure of concern 
> for these conditions.
> 
> In order to enhance the longevity of one's wrists, sanity, and 
> associated livelihood, we propose the same principal be applied to 
> identifiers within the D language. For example, how many programs have 
> more than 999 functions? For those that don't, it would surely be far 
> simpler to identify functions with up to three digits instead of those 
> silly long-winded names? Factorial, for instance: it should be called 
> "173" instead, or "387". Far shorter and much easier to type!
> 
> Because of this, we submit that D should allow identifiers to begin with 
> a numeric character. Numeric literals, since they are relatively seldom 
> used, should be prefixed to isolate then.
> 
> Since all identifiers can use short groups of digits instead of those 
> ridiculous long names, we can reserve the common 26 letters of the 
> alphabet for special language idioms: the 'newline' keyword (above) 
> should be shortened to a simple 'n', since we'll all know what that 
> stands for; 'indent' should become 'i' also, to simplify things in the 
> same manner. The letter 'l' should be used to prefix literals.
> 
> 
> u__173(u__0){__n__i()f(0__<=__l1){n__i(2)__r__1__n;i}n__i()e{n__i(2)r__0__*__173(0-l1)__n;i}n__}n; 
> 
> 
> 
> Ahh ... isn't that so much more appropriate? Those left-wing lunatics 
> with their extensive use of whitespace and so-called 'meaningful' 
> identifier-names ... they're just so full of it.
> 
> Be a real programmer! Be a real man! Let's drop all that nonsense and 
> vote for RFC '451'; save the wrists and minds of millions of real, live 
> Americans!
> 
> Vote '451' today!

ROFL.

Congrats.  I think you just posted the best example of "death by 
specification" anyone could have conjured.  As you know, we need that 
kind of humor* around here (at work I mean).

(* or "humour", if you're into that sort of thing)

-- 
- EricAnderton at yahoo



More information about the Digitalmars-d mailing list