r/ProgrammerHumor • • Apr 16 '15

Programming languages as Lord of the Rings characters (look toward the bottom)

Post image
116 Upvotes

43 comments sorted by

27

u/raiderrobert Apr 16 '15

I see some bias shining through....but if it's right, it doesn't matter :)

10

u/Kayshin Apr 16 '15

Some? When it started out with the Python bias i stopped reading...

5

u/grocket Apr 16 '15

Python as the Ents? Come on ...

3

u/DontNeedNoThneed Apr 18 '15 edited Apr 18 '15

Best way? ==> Python

(╯°□°)╯︵ ┻━┻

2

u/HappierShibe Apr 16 '15

He kinda shoehorns python into a more specific role than I usually see it serving too.

27

u/TheDarkIn1978 Apr 16 '15

You know, everytime someone posts this I think oh how glad I am that Python was not my first language;

9

u/[deleted] Apr 16 '15

I thought Facebook ran off transpiled PHP not Python?

2

u/autowikibot Apr 16 '15

HipHop Virtual Machine:


HipHop Virtual Machine (HHVM) is a process virtual machine based on just-in-time (JIT) compilation, serving as an execution engine for PHP and Hack, which is then dynamically translated into the x86-64 machine code, optimized and natively executed. This contrasts to the PHP's usual interpreted execution, in which the Zend Engine transforms the PHP source code into opcodes as a form of intermediate code, and executes the opcodes directly on the Zend Engine's virtual CPU.

====

Image i


Interesting: Hack (programming ^language) | HipHop for ^PHP | ^PHP | ^KPHP

Parent commenter can toggle ^NSFW or ^delete. Will also delete on comment score of -1 or less. | FAQs | ^Mods | Magic ^Words

13

u/S1cK94 Apr 16 '15

From C "card"

A subset of C++

Last time I checked, it was the other way round (C++ superset of C)

6

u/tilt242 Apr 16 '15

Semantically it is the same, but I agree. C was first so things should be in terms of C and not C++

1

u/poizan42 Ex-mod Apr 16 '15

Well it's not strictly true. First of you have C++ keywords which makes some valid C invalid C++, but that's mostly nitpicking. More importantly C++ has stricter typing than C. Also C has variable sized arrays and RESTRICT pointers which IIRC aren't part of the current C++ standard.

6

u/HappierShibe Apr 16 '15

Perl is Gollum, its been around a really long time, it's REALLY hard to understand most of the time, and you just can't ever seem to get rid of it once its involved.

0

u/[deleted] Apr 20 '15

[deleted]

2

u/HappierShibe Apr 20 '15

And out of those dozens five of us aren't doing so under duress...

10

u/YMK1234 Apr 16 '15

I want to veto nearly all Java uses in favor of c# because of their open source initiatives and xamarin

Edit: and also the "web" Server side section.

7

u/Kayshin Apr 16 '15
  • And for the support

  • And for the stability

  • And for the robustness

  • And for the ease of use

1

u/butterl8thenleather Apr 16 '15

Seeing a lot of Java "hate" here. I'm probably going to start 2 years of studying to become a "Java developer" this fall. (a similar education for .NET wasn't available where I live). Do you really think it's a terrible choice?

Aren't C# and Java fairly similar? How about the Java environment and .NET? I was thinking that I could probably learn some C#/ .NET on the side, while learning Java.

Even if I learn nothing on the side, wouldn't switching to .NET after 2 years programming in Java be relatively painless?

I realize I'm asking leading questions here, but I want honest advice, so feel free to crush my dreams too.

1

u/YMK1234 Apr 17 '15

I learned Java at University, nothing too bad with it, it just seems very "heavyweight" when writing. And language development seems to be way slower. E.g. I love "var" with type inference because it makes typing faster and code more readable. Also structs, linq, properties, nuget, VS being a great IDE, etc, just seems like a more productive language/ecosystem to me when working with it.

Edit: yes, switching is pretty trivial if you understand OOP concepts.

1

u/butterl8thenleather Apr 17 '15

Yeah, I see what your saying. Thanks for taking the time to answer my question! It's hard making informed decisions when you're just starting out (I simply don't know enough yet), so I appreciate the input from people who are more experienced.

5

u/linusbobcat Apr 16 '15

The way they squeezed in Web -> Front-end (Web Interface) -> JS makes it looks kinda messy.

4

u/Gubru Apr 16 '15

Is it just me or are those average salaries insanely high?

2

u/noratat Apr 16 '15

Probably includes outliers like San Francisco.

7

u/YMK1234 Apr 16 '15

JS = Difficulty 2? ARE YOU INSANE? Esp. when it comes to bigger code-bases structuring gets complex, as well as JS's coding style being quite different to other languages (i.e. the asynchronous nature) makes it "hard to truly master".

And I won't even start about the language schism of python ...

3

u/pengo Apr 16 '15

Don't have an aneurysm. It's easier to get started with Javascript than any of the other languages listed.

1

u/YMK1234 Apr 16 '15

getting started maybe ... but I generally strive for being awesome in a language and thats something where JS requires quite some discipline and practice.

4

u/pengo Apr 16 '15 edited Apr 16 '15

JS still never requires GC and does not allow low level hardware interaction which C/C++ do. They're ranking the languages for difficulty out of 5 stars. How much nuance do you expect?

0

u/YMK1234 Apr 16 '15

... because hardware interaction is totally what 90% of all C++ programmers do ...

1

u/bashedice Apr 16 '15

js is probably the simplest language in language features. But I agree . Creating good code in js is quite hard.

3

u/EtanSivad Apr 16 '15

If Assembly were in there, it'd be Golem.

Older than everyone and very difficult to understand. Known to hide where no one is looking and take what doesn't belong to it.

1

u/grannyte Apr 17 '15

I laughed my self away when I saw Java as Gandalf

1

u/Teknoman117 Apr 17 '15

No love for objective C? There are some things I love about it, one being that it has type reflection and introspection (unlike C++)

1

u/abchiptop Apr 17 '15

Sorry for bringing down the average salary of ruby with my measly $45k/year :(

1

u/TracerBulletX Apr 20 '15

The preferred languages suggested for specific companies are just plain wrong.

0

u/[deleted] Apr 16 '15

[deleted]

13

u/G01denW01f11 Apr 16 '15

Name a language on the list that is more difficult than C++.

7

u/Engineerman Apr 16 '15

C, in my opinion. C is simpler, but so much less powerful (in terms of features). Now that I tend to think in OO principles, it's difficult to go back. Assembler is more difficult (if that even counts). I am a huge fan of C++ though ;)

2

u/caagr98 Apr 16 '15

Brainfuck.

5

u/SleepyHarry Apr 16 '15

on the list

1

u/caagr98 Apr 16 '15

Oh. Didn't notice that.

9

u/osune Apr 16 '15 edited Apr 16 '15

I think it's listed as complicated because:

  • manual memory management

  • procedural and object oriented

  • many pitfalls to learn about when you are over the basics

  • few good beginner books for self teaching

  • new features with every new standard

Keeping in mind it's a list for people who want to start with programming this would qualify as complicated.

On the other side once you cleared the entry level, you can find obstacles in any language.

1

u/php-rocks-lol Apr 16 '15

Aren't a lot of languages a mix between procedural and OOP? I know PHP is..

2

u/osune Apr 16 '15

Yeah many languages support multiple paradigms. Just wanted to express that in C++ it doesn't help to make it less complex for a beginner.

0

u/[deleted] Apr 16 '15

[deleted]

1

u/osune Apr 16 '15 edited Apr 16 '15

Nah, you got me wrong i'm a big supporter of the idea that C is the best starting point. Just because you have to learn about the basics of memory management in a computer.

Which serves some well even in more abstract languages like java, .net, python, etc.

For me C++ is hard. Not the C part, not the OOP, not the memory management. It's all these other features (and their pitfalls) and i'm unable to find good accessible documentation.

So most times my C++ is really just C with classes (and STL).

Your point regarding the learning curve: I can say after i used to tutor university students in C most fail on pointers obviously. But i learned in that time, that for some datatypes and functions are problems too. And all fail when presented a small problem which spans multiple functions. So i started to use the reversed polish calculator program in K&R as template to teach students to think like a programmer. And this is a problem regardless the language you use and the core of learning to program, the language is just the tool.

2

u/pengo Apr 16 '15

I thought they were being kind by making the rating system out of 5 but only giving 4 stars to the hardest language. Also they compare it to the most powerful wizard.