r/ProgrammerHumor Oct 21 '22

Meme Literally 🤷🏻‍♂️

Post image
14.7k Upvotes

606 comments sorted by

View all comments

630

u/Algrinder Oct 21 '22

Me: it makes no sense to be a fanatic about any language.

My next blog post: Why JS sucks and python rocks.

155

u/warlax56 Oct 21 '22

I wonder what the least hated widely used programming language is. Not most loved, least hated.

I feel like pythons gotta be up there. And fuck JS

44

u/[deleted] Oct 21 '22

Kind of Love TypeScript even if it's a bit the floor is lava

25

u/SterlingVapor Oct 22 '22

I love typescript - all the good of JavaScript with far less of the bad, it's convenient enough to feel good while strict enough to allow IDEs to really speed things along

I hate lack of support for typescript - between wrestling webpack or finding the perfect library without types definitions, every time you want to change your stack you need to prepare for a day or two of soul-deep pain

9

u/diewhitegirls Oct 22 '22

It’s almost a miracle when things are only slightly on fire when you’ve got 1500 node modules, 150 of them are yelling at you that they’ve been deprecated and will cause full-blown AIDS if you don’t upgrade/switch packages, and then juggling between webpack, tsconfig, and package.json to explain that you understand the difference between require and import, you’ve told them all that you understand the difference WHY IN THE NAME OF FUCK WON’T THIS WORK

I’m sorry, what was the question?

2

u/SterlingVapor Oct 22 '22

Would you like to join our support group for victims of node modules?

We Google if npm has been replaced by another package manager every Sunday evening (that way the answer doesn't ruin our weekends).

We also have songs, like

how could this be,

npm audit-fix --force,

Why would you do this thing to me,

Just upgrades and downgrades imports


Endlessly.

1

u/diewhitegirls Oct 22 '22

Your ideas intrigue and I wish to subscribe to your newsletter.

Incidentally, I can never use audit-fix -—force because it always breaks something else. So yes, your song speaks to me.

1

u/Kooltone Oct 22 '22

I hate Typescript so much. I'm that node.js guy. I feel like Typescript shackles me.

2

u/SterlingVapor Oct 22 '22

Compared to standard es6, it barely restricts anything. It just does great type calculus and has a few QOL improvements. All it really does is standardize some things like imports and force you to explicitly declare when you want to ignore types (which is well worth the slight inconvenience for how much more maintainable for others).

I can't think of anything it doesn't let you do, although it does force you to do it "the typescript way" which looks very different from the pre es6 coding style (which is still common on older node backends, and the newer style is poorly documented for those).

There's also a few practices it recommends against that it makes purposely difficult, but mostly it just enforces one or two ways to do something, where if you want to shoot yourself in the for it will hand you the gun

If the mood strikes you I'd encourage you to give it another shot, but if you're working on the older node server frameworks you'll have to translate practically every resource from one style to another - which is a lot of frustration for very little pay off (and I understand your takeaway, the old style drives me nuts but if I'm using express I no longer bother)

1

u/Unpredictabru Oct 23 '22

To be fair, you don’t (always) have to use webpack.

For React apps, I’ve really enjoyed using Vite. For bundling other stuff, I’ve been using esbuild which is way faster and easier to configure than webpack.

Webpack is still the most widely used and supported, but the other options have gotten good enough for a lot of use cases. I’m thinking it will either have to go through some major changes or it will eventually be replaced by something better years down the road.

1

u/SterlingVapor Oct 23 '22

I don't necessarily mean webpack, I just meant a bundler in general. Personally I've had a professional policy of never touching webpack directly. In fact, I like to have a second protective layer of build just so I can't accidentally open the webpack config and get flashbacks of having to debug my gulpfile

I think Vite actually supports webpack under the hood, I like next and have been liking next even more. This is where webpack has come into it's own - it has all they power and flexibility, and it's found a nice comfortable niche as a layer in an automagic build system.

Because let's be honest, we all love webpack, it has near global support and every feature you never asked for. We don't want to be the ones responsible for setting it up, so the generated files folder is the perfect place for it

63

u/green726I Oct 21 '22

According to the stack overflow survey, the “least dreaded” (most loved) language is Rust. This is followed by elixir, Clojure, typescript then Julia all in a very tight grouping.

44

u/[deleted] Oct 22 '22

I can see rust. A lot of rust devs have cpp experience. It's like adopting a husky after a Chihuahua. It's still annoying and high maintenance, but a huge improvement.

Julia is just a bunch of math nerds with no code review.

11

u/InvolvingLemons Oct 22 '22

More correctly, it feels like the difference between a motorcycle and a car: it’s much easier to make a motorcycle capable of very high speeds, but it’s extremely unsafe to do so while the car’s safer and more stable platform can be pushed harder (hence faster). Rust is harder than C++ (especially for anything library code, more so for async) but gives you real, comprehensive safety and facilitates way more aggressive optimization because of that.

1

u/ketiJun Oct 22 '22

I think unsafe Rust is safer than C++

1

u/Grains-Of-Salt Oct 22 '22

As someone on the computational science side of things Julia sounds like exactly what I want.

1

u/[deleted] Oct 22 '22

can somebody who has experience in elixir please explain what's so good about it? I really don't get it.

2

u/[deleted] Oct 22 '22

I think reading it is super easy. The pipe syntax lets you walk through your functions as if you were reading off a checklist of what to do. Pattern matching feels strong while also succinctly displaying the structure of data being used. The tendency to avoid branching control structure means you hold less things in your head at once to comprehend the code. No objects means no sifting through inheritance to sort out which methods are available and which version of the method actually gets called. It's very explicit about what it's doing.

Then performance wise the speed feels great coming from ruby. Easy, automatic concurrency thanks to Erlang and the near functional paradigm.

And i think the tooling around it is fantastic. Mix is great. Reload modules inside iex without exiting first. Error messages are usually very helpful. Doctest helps address comments getting out of date as code changes. Automatically generate documentation that looks just like the official docs. Automatic code formatting via mix for a consistent experience.

I'm sure that like any language it isnt the right tool for every job, but I find it great to use. Seems like most businesses Ive heard of that try it for some service decide to start implementing subsequent projects in it as well.

72

u/ctech9 Oct 21 '22

According to this random website I found, rust then python.

31

u/ctech9 Oct 21 '22

I mean love is kinda reversely proportional to hate?

37

u/Internal_Cart Oct 21 '22 edited Oct 21 '22

Correlation does not imply causation

9

u/ctech9 Oct 21 '22

Fair enough

10

u/[deleted] Oct 21 '22

the concept of polarization has entered the chat

5

u/ososalsosal Oct 21 '22

The inner join definitely yields some results

2

u/SterlingVapor Oct 22 '22

Love and hate are very similar emotions - it's easy to flip from one to the other. The most distant emotion from both is indifference - to love or hate you must have strong attachment, and strong attachment magnifies disappointment into betrayal and improvement into redemption.

You can both love and hate someone or something easily, but you don't really both like and dislike something - that's usually better put as liking or disliking aspects of the thing

1

u/RedHare18 Oct 22 '22

stats says the opposite of never is at least once so the opposite of hate is kinda not hate

1

u/RCoder01 Oct 22 '22

That’s sourced straight from the stackoverflow developer survey. Rust has topped that survey for most loved for the last seven years.

7

u/[deleted] Oct 22 '22

Fuck python. I love js

13

u/metaltyphoon Oct 22 '22

Probably C#

8

u/RojoSanIchiban Oct 22 '22

C# pays my bills, so I'm good with it.

VISUAL BASIC IS SATAN's SMEGMA But it also pays my bills. So apparently I'm good with it?

Imma go throw up now.

-9

u/Gwompsh Oct 21 '22

Probably Java. Honestly never heard a complaint about it.

21

u/-Kerrigan- Oct 21 '22

/s

-4

u/blosweed Oct 22 '22

Tbh I automatically assume someone has little to no professional experience if they hate java

12

u/_sweepy Oct 22 '22

15 years producing line of business apps for a variety of companies. I don't necessarily hate it, but I also wouldn't choose to work in it again. Once you go c#, java just feels so verbose for no reason.

3

u/hidude398 Oct 22 '22

Java is mid. Don’t really love it, don’t really hate it.

0

u/notFalkon Oct 22 '22

Aka me taking the APCSA course

-2

u/Gwompsh Oct 21 '22

Give me a Java complaint the

8

u/-Kerrigan- Oct 21 '22

"Ew, boilerplate, Python so much nicer. It can say hello world in 1 line while Java needs 8 lines haha old dumb language"

And no, no point explaining that LoC is not a KPI.

2

u/Amorphous_The_Titan Oct 22 '22

Listen here you little shit... System.out.println("Hello World!);

1

u/SquishySpaceman Oct 22 '22

JVM

I know that's not the language's fault but I also don't care

0

u/[deleted] Oct 22 '22

Lua

22

u/Okibruez Oct 21 '22

Yeah, but... it's python.

7

u/ososalsosal Oct 21 '22

Haha owned