Fun: Shooting yourself in the foot in D
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 28 04:41:11 PDT 2016
On Thursday, 27 October 2016 at 19:49:16 UTC, 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? :)
>
> Ali
You unregister your feet from the runtime in order to move
smoothly, wander in front of a bullet that's paused by the GC,
which then un-pauses and hits you in the foot.
More information about the Digitalmars-d
mailing list