Fun: Shooting yourself in the foot in D
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Thu Oct 27 12:59:09 PDT 2016
On 10/27/16 3:49 PM, Ali Çehreli wrote:
>
> http://www.toodarkpark.org/computers/humor/shoot-self-in-foot.html
>
> Some entries for reference:
>
> C
> - You shoot yourself in the foot.
> - You shoot yourself in the foot and then nobody else can figure out
> what you did.
>
> C++
> - You accidentally create a dozen instances of yourself and shoot them
> all in the foot. Providing emergency medical assistance is impossible
> since you can't tell which are bitwise copies and which are just
> pointing at others and saying, "That's me, over there."
>
> Python
> - You shoot yourself in the foot and then brag for hours about how much
> more elegantly you did it than if you had been using C or (God forbid)
> Perl.
>
> What would the entry for D be? :)
You create a large meta-template library called footMassage, which then
ends up via compiler inference compiling into a gun instead.
-Steve
More information about the Digitalmars-d
mailing list