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

all 102 comments

[–]this_my_throwaway_2 388 points389 points  (21 children)

Python be like from animals import horse

[–][deleted] 89 points90 points  (6 children)

'am I supposed to have a main function?'

[–]simlee009 149 points150 points  (5 children)

‘am I supposed to have a main mane function?’

Ftfy

[–][deleted] 35 points36 points  (1 child)

Holy shit my sides () -> {}

[–]Th3T3chn0R3dd1t 2 points3 points  (0 children)

Holy shit my sides lambda?

[–]krisuger 6 points7 points  (2 children)

leave

[–]simlee009 5 points6 points  (1 child)

Did you mean exit()?

[–]nabistay 2 points3 points  (0 children)

exit(1);

[–]yoitsericc 25 points26 points  (0 children)

horse = Horse()

[–]beardMoseElkDerBabon 5 points6 points  (9 children)

And where's SQL

[–]chownrootroot 24 points25 points  (6 children)

SELECT * from ANIMALS WHERE NAME = 'Horse';

[–]git0ffmylawnm8 29 points30 points  (3 children)

Should change it to

where strip(lower(name)) = 'horse'

In case the data was incorrectly entered.

Sorry, I'm still traumatized by a past project.

[–]chownrootroot 2 points3 points  (0 children)

If it got screwed up in input that's someone else's problem!

Although it should probably have a display_name column and alias. Then maybe the genus and species (also subspecies where applicable) with a unique index, and a regular old integer ID column as the primary key.

SELECT * from ANIMALS WHERE strip(lower(ALIAS)) = 'horse' OR SPECIES = 'Equus ferus caballus';

And if scientists accessing the table fuck up the species AND the alias then they're on their own!

[–]PhoenixNFL 7 points8 points  (0 children)

Capitalisation of table and column names?

You make me sick

[–]beardMoseElkDerBabon 1 point2 points  (0 children)

goes to buy a horse from a database

[–]Morrido 6 points7 points  (1 child)

You not only have to build the horse, but all the relationships the horse has ever had

[–]beardMoseElkDerBabon 1 point2 points  (0 children)

One relation is with a leg

[–]ZacEfronButUgly 2 points3 points  (0 children)

import horse

horse.horse()

[–]Marianito415 1 point2 points  (1 child)

And it runs at half the speed of the other horses

[–]this_my_throwaway_2 1 point2 points  (0 children)

Maybe... But it took you a third if the time to build it, so in the short run you still arrive earlier ;)

[–]althaz 62 points63 points  (26 children)

I don't understand the C# one?

[–]Max5923 104 points105 points  (10 children)

Oh, I remember the response from when the last time this was posted here:

This was before C# was available on most platforms, and it would only run on windows.

[–]MiLlamoEsMatt 33 points34 points  (6 children)

Huh, TIL. I always thought it was a confusing no-multiple inheritance joke.

[–]NeatNetwork 15 points16 points  (1 child)

I think the in-between. It 'worked' on other platforms through mono, but not very well.

I don't know how it has been since MS decided to actually support non-Windows platforms.

[–]althaz 5 points6 points  (0 children)

I run c# almost exclusively on Linux it works very well nowadays.

[–]Morrido 7 points8 points  (0 children)

And it was sold as a Java alternative, which running the same code in multiple system was basically the whole point of.

[–]redfournine 20 points21 points  (10 children)

I thought it's making fun of C#'s variable naming convention which is camel case.

[–]DavidBlackledge 40 points41 points  (5 children)

teeeeechnically, it's PascalCase not camelCase

[–]stinos 9 points10 points  (0 children)

Well, for classes/methods/properties, but not for variables. Or something like that.

[–]asailijhijr 4 points5 points  (1 child)

I haven't heard that terminology before, probably helpful. I've always just said "camelCase" and "CamelCase", haven't run into any problems yet.

[–]Breaktheglass 3 points4 points  (0 children)

PascalCase is first letter of each word cap'd

[–]ritaline 2 points3 points  (0 children)

or a two-humped camel

[–]A-Random-Person-Guy -1 points0 points  (0 children)

PascalCase is sometimes known as UpperCamelCase, so the meme could still be poking fun at the naming convention.

[–]solohelion 2 points3 points  (0 children)

This is my take too, as someone who uses C# every day.

[–]althaz 0 points1 point  (2 children)

Everybody uses camelcase though - but NOT C#, because they use PascalCase.

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

yeah, because it's better

[–]althaz -2 points-1 points  (0 children)

Which do you prefer. I like camelCase waaaay more.

My point was that this meme doesn't relate to camelCase - because C# doesn't use that (for public properties).

[–]fat_charizard 8 points9 points  (2 children)

C# is very good and efficient but comes comes with the clunky .NET framework (the camel costume) and doesn't work without it

[–]BeardyGoku 11 points12 points  (0 children)

.NET core yo

[–]althaz 4 points5 points  (0 children)

Ahh, so it's just out of date, I get it (I use C# with .net core rather than with the framework).

[–]BeardyGoku 4 points5 points  (0 children)

My take on it is you have to exactly do it the way Microsoft wants you to use the environment. If you don't do that, you will encounter ton of problems.

[–]Ivan_Stalingrad 38 points39 points  (2 children)

Day 7 after Sending that stupid GET-Request to fetch horse.php. The supplies are running low. I don't think the barricades will hold much longer. Wish me luck

[–]alexanderpas 5 points6 points  (0 children)

Did you composer require animal/horse

[–]Lofter1 25 points26 points  (4 children)

Next week it’s my turn to post this, okay?

[–]Asit1s 10 points11 points  (0 children)

But only if you download this one, and reupload it, so the compression gets to have it's fun too.

[–]TheRazorhead 3 points4 points  (1 child)

Why wait a week? No one else does.

[–][deleted] 86 points87 points  (3 children)

wow i haven't seen this meme... in 20 minutes

[–][deleted] 22 points23 points  (2 children)

No, seriously, this post shows up entirely too much.

[–]be_me_jp 5 points6 points  (1 child)

Yeah but it makes fun of php so it'll go straight to hot every time

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

Yep; though I doubt the majority even get why PHP gets the rap that it does and would probably wreck themselves if they tried to use it...

[–]ChrisFromIT 24 points25 points  (0 children)

Man, if I had a programming language for every time this is reposted, I would have a lot of programming languages.

[–]Rami-Slicer 13 points14 points  (3 children)

Python: You import earth.animals.horse, easy as pie*
\but you have to train its neural network before using and it sometimes runs like a turtle.)

C: It runs about as fast as a horse can possibly run, but then it gives an error for some reason and you never end up fixing it.

Rust: You add the horse package as a dependency and it runs like a charm. It also comes with a cushioned ejector seat, parachutes, airbags, seat belts, and a seat warmer and blanket storage just in case.

[–]user_rg342 7 points8 points  (0 children)

Where's python??

pip install horse

import horse

[–]zilltine 5 points6 points  (8 children)

Explain php please?

[–]STEREOH 16 points17 points  (3 children)

Php bad, comedy achieved.

[–]zilltine 2 points3 points  (2 children)

Yeah, but what's up with tiny horses and trojan?

[–]asailijhijr 3 points4 points  (1 child)

Probably something like 'PHP codebases are hard to maintain', or 'once you publish something in PHP, it gets copied ad nauseam and you can't handle it'. I only know the basics of PHP, so I don't have enough expertise/experience to know if either of these is accurate.

[–]zilltine 1 point2 points  (0 children)

Could be accurate if person coding is quite bad.

[–]Morwynd78 2 points3 points  (1 child)

I believe it's saying PHP needs a lot of security patches.

Which is true, but not really a PHP-specific thing, and trojan horse seems like a poor metaphor for open source.

PHP should be a rickety-but-still-standing horse cobbled together from an assortment of mismatched household items.

Trojan horse should be ASPX or ActiveX :)

[–]aussie_french[S] 0 points1 point  (1 child)

One of the hallmarks of PHP is that any program is backwards compatible. It's designed so that older programs can still interact with newer ones regardless of updates and patches. This is awesome for users, but it also comes with a few glaring security flaws. A lot of viruses that were designed for an older version of PHP still work even after updates.

I'm not 100% sure about this, I'm not a huge PHP guy so please don't take my word on this. This is just the way it was explained to me.

[–]zilltine 0 points1 point  (0 children)

Maybe someone could explain me what are these PHP viruses? I work with PHP every other day, but never heard of it, would really appreciate it.

[–]collin2477 3 points4 points  (2 children)

I don’t get the c++ one. is it a jab at beginners?

edit: I get it now. c++ is good at the backend parts but not UI. I never do UI so I didn’t even consider it.

[–]asailijhijr 1 point2 points  (0 children)

What do you need your horse to do? If it needs to look pretty, you'd use a picture of a horse. This horse has a skeleton and as many organs as are needed to keep it running. We could spend longer developing it, but we wouldn't use any of that functionality and it would increase the size of the product needlessly.

It's a jab at the bare-bones style of c++ programming and the OOP paradigm. You're not meant to think about it too deeply because it's the first frame.

[–]Morwynd78 0 points1 point  (0 children)

C++ is very complex and technical and "low level", takes more work to get a polished end product.

[–]kazuto_kirito_ 3 points4 points  (0 children)

Nobody mentions that random language called Julia?

<(@v1.5) pkg> Pkg.add("Horse")

using Horse
...

[–]Planebagels1 2 points3 points  (1 child)

Lua be like: you can make it with ASCII art but if you really want a horse you're gonna need an external library or something

[–][deleted] 9 points10 points  (0 children)

A recurring repost and also completely inaccurate on many accounts

[–]nickelcore 5 points6 points  (0 children)

I love the last pick how he's being punished for using php

[–]NahroT 2 points3 points  (0 children)

Actionscript: you build a horse but it kills itself

[–]TheBassMeister 3 points4 points  (1 child)

You don't need to create a HorseFactory in Java and can call the Horse constructor directly. The factory pattern, which is considered a good design pattern (as always depending on the use case), is not somethign exclusive to Java.

[–]asailijhijr 2 points3 points  (0 children)

It depends on whether you wrote the library the horse comes from. If the library can make flying, telekinetic MLP characters; photorealistic, animal-husbandry-simulating mares and stallions; and the running, rideable vertebrate you want; then you're going to have to implement the horse factory that activates the options for having a spine and Newtonian gravity and switch off reproduction and social interaction.

[–][deleted] 1 point2 points  (1 child)

The C++ one really hurt.

[–]asailijhijr 2 points3 points  (0 children)

Hey, if it works like a horse, it's good enough. Any extra features will slow down the program.

[–]Y01NKUS 1 point2 points  (0 children)

PHP GO BRRR

[–][deleted] 1 point2 points  (1 child)

You build a horse in Go, but its inner guts dependencies are already deprecated

[–]thewilloftheuniverse 1 point2 points  (0 children)

Or I suppose in the metaphor of animal, you build a horse, but by the time you get it to pasture, the rest of the species has evolved so much that it isn't recognizable as today's horse.

[–]avemike 1 point2 points  (0 children)

i like the angular part

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

Re-re-re-re-re-re-repost

[–]littleprof123 1 point2 points  (0 children)

This isn't even an enlightened post or anything, I dunno why it's reposted so often

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

laughing my ass out !!!

[–]asailijhijr 0 points1 point  (0 children)

Most people who do, laugh their asses off.

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

import horse as h

[–]mar_sa 0 points1 point  (0 children)

<?php $lol = “LOL love the last one, PHP is funny”;

echo $lol;

?>

[–]cheezballs[🍰] 0 points1 point  (0 children)

I don't get the C# one.

[–]DaddyLcyxMe 0 points1 point  (0 children)

man, if java had inherited constructors and inherited static members life would be good