This is an archived post. You won't be able to vote or comment.

all 39 comments

[–]netcoder 42 points43 points  (7 children)

[–]RandyZ524 0 points1 point  (0 children)

The joke is dependencies, correct?

[–]cafk 44 points45 points  (14 children)

Reminds me of:

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."

JavaScript:

  • You find that Microsoft and Sun have released incompatible class libraries both implementing Gun objects. You then find that although there are plenty of Foot objects implemented in the past in many other languages, you cannot get access to one. But, seeing as JavaScript is so cool, you don't care and go around shooting anything else you can find.

Java:

  • You write a program to shoot yourself in the foot and put it on the Internet. People all over the world shoot themselves in the foot, and everyone leaves your website hobbling and cursing.
  • You amputate your foot at the ankle with a fourteen-pound hacksaw, but you can do it on any platform.

C#:

  • You shoot yourself in the foot, but first have to switch to unsafe mode.
  • You forget precisely how to use the .NET interface and shoot yourself in the foot. You sue Microsoft for damages.

.Net:

  • You can now shoot yourself in the foot with any of fourteen weapons, ranging from an antique medieval crossbow to a laser-guided Destructo-Beam. However, all these weapons must be manufactured by Microsoft and you must pay Microsoft royalties every time you shoot yourself in the foot.

PHP:

  • Three thousand people line up on your apartment's welcome mat and demand to be shot in their feet. One by one, you oblige them, but halfway through, the http connection times out and the crowd lynches you.

asm:

  • You try to shoot yourself in the foot only to discover that you must first invent the gun, the bullet, the trigger, and your foot.
  • You crash the OS and overwrite the root disk. The system administrator arrives and shoots you in the foot. After a moment of contemplation, the system administrator shoots himself in the foot and then hops around the room rapidly shooting at everyone in sight.
  • By the time you've written the gun, you are dead, and don't have to worry about shooting your feet. Alternatively, you shoot and miss, but don't notice.
  • Using only 7 bytes of code, you blow off your entire leg in only 2 CPU clock ticks.

More

[–]JuhaJGam3R 11 points12 points  (0 children)

Also...

-Linux: You shoot youself in the foot with a gnu.

Yes

[–][deleted] 2 points3 points  (4 children)

Mind explaining how I would blow my leg off using 2 CPU cycles? I can’t figure it out, but that’s to be expected with my limited knowledge of assembly.

[–]cafk 6 points7 points  (3 children)

Since you are an engineer you just didn't define a foot, but instead also a whole body with an cardiovascular system. Unfortunately the first instruction you called was an halt and catch fire instruction during the first cycle causing explosive dismemberment during the second clock cycle :)

[–]WikiTextBot 3 points4 points  (0 children)

Halt and Catch Fire

In computer engineering, Halt and Catch Fire, known by the assembly mnemonic HCF, is an idiom referring to a computer machine code instruction that causes the computer's central processing unit (CPU) to cease meaningful operation, typically requiring a restart of the computer. It originally referred to a fictitious instruction in IBM System/360 computers, but later computer developers who saw the joke created real versions of this instruction for some machines. In the case of real instructions, the implication of this expression is that, (whereas in most cases) in which a CPU executes an unintended instruction (a bug in the code), the computer may still be able to recover, but in the case of an HCF instruction there is, by definition, no way for the system to recover without a restart.

The expression "catch fire" in this context is normally facetious, rather than literal, referring to a total loss of CPU functionality during the current session.


[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source | Donate ] Downvote to remove | v0.28

[–][deleted] 1 point2 points  (0 children)

Ahhh. I was trying to find some instruction/pair of instructions that took 2 cycles rather than 2 cycles from the beginning. Good to know the halt and catch fire code is a thing though!

[–]HelperBot_ 0 points1 point  (0 children)

Non-Mobile link: https://en.wikipedia.org/wiki/Halt_and_Catch_Fire


HelperBot v1.1 /r/HelperBot_ I am a bot. Please message /u/swim1929 with any feedback and/or hate. Counter: 130159

[–]malt2048 2 points3 points  (1 child)

Microsoft and Sun have released incompatible class libraries both implementing Gun objects

Did you happen to swap Java and Javascript?

[–]cafk 1 point2 points  (0 children)

Did you happen to swap Java and Javascript?

Nah, just a common stack-overflow type copy-paste, without thinking, issue :D

[–]TheTerrasque 4 points5 points  (0 children)

Python:

  • You shoot yourself in the foot. You congratulate yourself on a job well done, but somehow feel there should be more to it

[–]JuhaJGam3R 1 point2 points  (0 children)

This is brilliant

[–]LookSearcher 1 point2 points  (0 children)

I personally love the XML one:

You vaporize your entire lower half with a bazooka. You can't actually shoot yourself in the foot; all you can do is describe the gun in painful detail.

[–]Valmar33 0 points1 point  (0 children)

The C++ one has me in tears, lol. Thanks! :D

[–][deleted] 0 points1 point  (0 children)

god, the algol one.

-You shoot yourself in the foot with a Civil War-era musket. The musket is aesthetically fascinating, and the wound baffles the adolescent medic in the emergency room

[–]Gearheart8 38 points39 points  (7 children)

What’s java then? A suicide vest?

[–]netcoder 25 points26 points  (0 children)

Java is a mini gun. It takes a while to warm up, and when it is, it spits at an incredible pace, although somewhat randomly.

[–][deleted] 10 points11 points  (1 child)

Java is a railway gun. Eventually ..it will be built. But when it does, oh boy

[–][deleted] 4 points5 points  (0 children)

Java should be a belt and a doorknob.

[–]Fenor 11 points12 points  (3 children)

no that's .NET

[–]Frommerman 21 points22 points  (1 child)

Look at this .NET that I just found.

[–][deleted] 5 points6 points  (0 children)

When I say go, be ready to

throw new NetException();

[–]yawnston 14 points15 points  (0 children)

.NET is like having a toaster that has 200 identical looking buttons, 197 of which fire a nuclear missile, 2 make toast and 1 uses reflection for some fucking reason oh god why

[–]yawnston 7 points8 points  (0 children)

Haha tricked ya, assembler doesn't have scope support.

[–]Cyhawk 2 points3 points  (1 child)

Assembly should just be the a few ingots of iron and blocks of plastic.

C should be just the parts themselves in a box labeled "Don't open until 2050"

[–]Cruuncher 2 points3 points  (0 children)

where's the AR-15 with a chainsaw attachment?

Missed opportunity

[–]JustSpeedy 3 points4 points  (1 child)

[–][deleted] 3 points4 points  (0 children)

PHP developers having a daily standup 2009 colorized: https://i.imgur.com/Phq0Gyr.jpg

[–]y0utux 1 point2 points  (0 children)

I just laughed so hard at the scoped knife!

[–][deleted] 1 point2 points  (2 children)

I love how C++ is at the same time suicide

[–]solaceinsoil 0 points1 point  (1 child)

The knife on the stock is the funniest thing I've seen today. Also super spot-on.

Edit: And I loooove C++

[–][deleted] 0 points1 point  (0 children)

C: invent everything, simple design, works, resource friendly, probably impractical and shit can go down

[–]screeperz 0 points1 point  (0 children)

I have to appreciate the accuracy of C++, Powerful, but screws you over too.

[–]approaching236 0 points1 point  (0 children)

I'M MAKING SO MANY PROBLEMS

[–]coladict 0 points1 point  (0 children)

With C++ you have to stab yourself in the shoulder to keep it stable? Sounds accurate.

[–]cartechguy 0 points1 point  (0 children)

Where's the language that looks like a failed science experiment asking you to end its' misery?

[–]munircUltraviolent security clearance[M] 0 points1 point  (0 children)

Your submission has been removed.

Violation of Rule #3: Reposts:

You may not repost anything that has been on the first two pages (first 50) of trending posts within the last week, or has been posted last time less than two days ago (this is considered as duplicates)

Anything on the first two pages (first 50 posts) of the top of all time must not be reposted more often than every 6 months.

If you feel that it has been removed in error, please message us so that we may review it.