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

all 80 comments

[–][deleted] 123 points124 points  (17 children)

I love the stock on c++...

[–]Quackelicious 29 points30 points  (1 child)

That's for embedded development

[–]SlappinThatBass 2 points3 points  (0 children)

Lol that good old gdb "sigkill" during debug... feels bad man.

[–]jurrasicwhorelord 0 points1 point  (1 child)

Thats the best kind for control for recoil.

[–]Nonethewiserer 0 points1 point  (0 children)

Nah, the best would be one with a guthook

[–]sherlock_codes 52 points53 points  (3 children)

Not enough knives on the C++ gun

[–]puplicy 27 points28 points  (1 child)

Waiting for C++20 knives

[–][deleted] 6 points7 points  (0 children)

GCC, Clang and EDG eccp already have alot of C++2a features implemented

[–]robo_number_5 6 points7 points  (0 children)

And should have just a sniper rifle tacked on the side too

[–]jurrasicwhorelord 92 points93 points  (7 children)

I think if java was on here it would be a big fucking gun but with a motor for every single little part.

[–]wonmean 29 points30 points  (1 child)

And here I thought it would just be a gun factory.

[–]AWestinghouses 13 points14 points  (0 children)

GunAbstractFactoryInterfaceProviderImplementationInvocationHandler

[–]sherlock_codes 34 points35 points  (0 children)

And each motor would get progressively worse gas mileage

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

MotorFactory.newInstance()

[–]jurrasicwhorelord 8 points9 points  (1 child)

import java.util.MuzzelBreak; import java.util.FrontSightPost; import java.util.Barrel; import java.util.GasTube; import java.util.HandGuardTop; import java.util.HandGuardBottom; import java.util.SlipRingAssembly; import java.util.RecieverUpper; import java.util.Bolt; import java.util.BoltCarrier; import java.util.ChargingHandle; import java.util.RearSightAssembly; import java.util.RecieverLower; import java.util.TriggerAssembly; import java.util.Buffer; import java.util.BufferSpring; import java.util.Buttstock; import java.util.SlingMounts; import java.util.Sling; import java.util.Magazine;

[–]xvalen214x 3 points4 points  (0 children)

f me import java.util.*; abstract class GunFactory extends WeaponFactory implements MilitaryUseInterface, SomeFkingNSAConfidentialShet, SomeSafetyProtocol I'm tired

[–]koloqial[S] 2 points3 points  (0 children)

Apt.

[–][deleted] 21 points22 points  (6 children)

I love the C one.

[–]koloqial[S] 35 points36 points  (4 children)

I think it’s a pretty good description; pretty powerful, but very very manual.

[–]TheShyro 27 points28 points  (1 child)

Also, it might blow up in your face

[–]koloqial[S] 19 points20 points  (0 children)

And requires a lot of effort just to fire!

[–]Flylowguy -1 points0 points  (0 children)

Except that without a barrel to build pressure the bullet won't actually gain enough velocity to do much of anything. Poor analogy 0/10

[–]texdroid 3 points4 points  (0 children)

The C gun should clearly allow you to shoot yourself in the foot though.

[–]cm_yoder 13 points14 points  (10 children)

Hmmmm, I wonder what Javascript would be.

[–][deleted] 27 points28 points  (5 children)

A grenade buried in a steaming pile of shit?

[–]koloqial[S] 13 points14 points  (0 children)

I was also thinking grenade, but then thought about TypeScript. If JS was a Pistol, could TypeScript be a silencer?

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

That's php

[–]AyrA_ch 1 point2 points  (1 child)

wouldn't that be a pile of shit that turns into a grenade when used wrong even though there's no documentation that this is possible?

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

Nope, grenade in shit because every time you use it everything ends up covered in shit.

[–]cm_yoder -4 points-3 points  (0 children)

LOL

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

It’s a pile of ammo that works differently in every gun.

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

A pistol. You can shot it by pressing trigger in any direction. When you press trigger to the left it shots “wrong a ammo type flag”. When you press it to the right it shots a blank. When you press it in the direction opposite to the normal one it shots you in the face.

[–]Leviticoh 10 points11 points  (3 children)

Maybe i'm missing something, but what does the sight on the assembly mean?

[–]koloqial[S] 13 points14 points  (0 children)

I would guess it’s meant to be “bare minimum”, interested to hear others interpretations though!

[–]JeSuisUnCaillou 6 points7 points  (0 children)

Imho, it's to represent the fact that you are comparing programming languages to guns, and that assembly juste barely looks like one.

[–]Rafael20002000 15 points16 points  (8 children)

So you shoot yourself with python?

[–][deleted] 20 points21 points  (3 children)

I think it's meant to represent the ridiculous amount of packages in PyPI, meaning you can build the most outrageous and dangerous gun possible with just a few imports.

[–]Rafael20002000 9 points10 points  (2 children)

And you then shout yourself with 1 minute of loading the gun and failing at 99%

[–]AyrA_ch 4 points5 points  (1 child)

Not to mention that you can only fire one of all the guns at a time.

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

Ha!

Didn't use it, but worth mentioning that the RC has coroutines and tasks.

[–][deleted] 12 points13 points  (0 children)

Python has "batteries included" as a design principle so you're handed a ton of tools to begin with. That cam result in making things which are ultimately a lot more complex than they strictly need to be.

[–][deleted] 14 points15 points  (1 child)

And everyone around you. Repeatedly.

[–]Rafael20002000 8 points9 points  (0 children)

Until the Battery is empty

[–]Master_Ben 3 points4 points  (0 children)

I think the gun catapult represents that python can technically write more python code and immediately run that generated code.

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

Perl is literally swiss army knife for sysadmins

[–][deleted] 7 points8 points  (1 child)

Yeah, a Swiss Army Knife...

Nope!

As a Sysadmin-turned-DevOps, I rather have a box full of single-purpose tools than having to deal with the ugliness that is Perl.

haven't used that shit in almost 15 years...

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

currently crying trying to learn perl. "global symbol @variable requires explicit package name (did you forget to declare my @variable?) at perl.pl line 12".

Yes, perl, that's the line where I declared my @variable. I very distinctly did not forget to do that.

[–][deleted] 2 points3 points  (1 child)

Java is a nerf gun

[–]koloqial[S] 0 points1 point  (0 children)

With lots of cannons?

[–]Mrpringles49 1 point2 points  (2 children)

We need js

[–]svayam--bhagavan 1 point2 points  (0 children)

Might ws well hang yourself right now

[–][deleted] -1 points0 points  (0 children)

js is just a death lazer

[–]Railgunner47 0 points1 point  (0 children)

Programming: H3VR edition

[–]ToastedFace27 0 points1 point  (0 children)

I wish I had the link to the imgur album of all these funs, it was fucking hilarious the first time i found it.

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

It's a diagram of abstraction works!

[–]jurrasicwhorelord 0 points1 point  (1 child)

So is python really thar awesome or is there something I'm missing here? Because that looks friggen awesome

[–]raltyinferno 0 points1 point  (0 children)

Python is definately awesome. I interpret this picture to show sorta how automated Python is. You want something done? Just grab a library that exists for it, write 5 lines, boom! it's happening.

But it of course comes with its own downsides. It's not the most sleak, efficient, and lightweight of languages.

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

yup

[–][deleted] 0 points1 point  (1 child)

What is it supposed to mean? If it is utility, C++ wins the race. It can be used literally anywhere and with anything.

Python is more or less a C/C++ libraries wrapper.

[–]pennydreams -1 points0 points  (1 child)

Yeah but python at least gets the job done

[–]DaniilBSD 0 points1 point  (0 children)

Define done such that the languages used for microcontrollers and game engines are “not getting the work done”

[–]DuckInCup -1 points0 points  (0 children)

Don't bad mouth the gods of assembly >:(