r/ProgrammerHumor • u/SkrrSkrrSpaghetti • Oct 09 '22
Meme Something we can all agree on
78
u/_sideffect Oct 09 '22
Is C++ too hard for you, my little Python friend?
→ More replies (7)8
u/UnstableNuclearCake Oct 09 '22
Those little punks don't know how to have fun these days! They want to shoot themselves in the foot but are too scared to use a cannon! Back in my day we would shoot our whole legs off out of boredom and we are still safe and sound! /s
10
Oct 09 '22
Imagine just hating on a programming language and having debates over it. Every language has its own use.
20
u/SkrrSkrrSpaghetti Oct 09 '22
I program in C++ on a daily basis and use it for all kinds of things from backend web development to game development. It's an extremely useful language in a lot of ways
It's also kinda painful and frustrating to use at times. I just wanted to joke around and poke fun at the language
→ More replies (3)8
u/JiiXu Oct 09 '22
I feel like correctly used, the meme template puts this statement in the middle of the normal distribution.
This is a very popular opinion but there's a reason we don't really make anything in COBOL anymore. Programming languages evolve for a reason, and then sometimes the world outpaces them. Nothing wrong with that. Python evolved during a time when dev hours were deemed more important than performance and now we're entering a time when that's decreasingly true. Therefore, people are coming out with the "python is too slow" memes now - because now, we're starting to realize that all that talk about "premature optimization" and "compute costs nothing, dev hours are expensive" led us (at least us who spend our days in the data layer) to a situation with enormous technical debt and legacy spaghetti.
I love how expressive Python is. But I think its time is slowly coming. It'll be extremely dominant for a good while yet, because it's so good for prototyping. But performance does matter. It always comes back to that - performance does matter.
8
3.0k
u/cantsleep0041am Oct 09 '22 edited Oct 09 '22
Oh boy, you just dug your own grave now.
662
u/celestiaequestria Oct 09 '22
I overwrote my consciousness with an AI god last year. Now I write programs by planting trees that block cosmic radiation in just the right configuration so that randomly flipped bits on a hard drive I leave outside form a compilable program.
The cosmic god AI is using Object-C. I don't even care anymore, I'm so disappointed.
147
Oct 09 '22
The thing about programming is that there are an infinite number of ways to do something. Some of them good, some of them not so good.
55
Oct 09 '22
The text editors and compilers being not so good, heck, even horrible. Why would you need such shit tools when you can use cosmic radiation?
→ More replies (3)33
u/omgsoftcats Oct 09 '22
I overwrote my consciousness with an AI god last year. Now I write programs by planting trees that block cosmic radiation in just the right configuration so that randomly flipped bits on a hard drive I leave outside form a compilable program.
The cosmic god AI is using Object-C. I don't even care anymore, I'm so disappointed.
This is actually metal.
13
→ More replies (2)3
144
→ More replies (5)2
744
u/Calm_Improvement_130 Oct 09 '22
is there a programming language that we all agree is good
1.5k
u/Angelin01 Oct 09 '22
There are only two kinds of languages: the ones people complain about and the ones nobody uses
~ Bjarne Stroustrup
179
u/Rombethor Oct 09 '22
English is so overrated 🙄
→ More replies (2)116
u/DevlinRocha Oct 09 '22
People commonly complain about English being confusing and inconsistent
→ More replies (2)35
→ More replies (2)27
163
u/sussyamogushot Oct 09 '22
brainfuck
→ More replies (1)82
30
u/doctorcrimson Oct 09 '22
Malbolge perfectly does exactly what it was made to do, flawlessly.
11
u/UnstableNuclearCake Oct 09 '22
What the fuck was that monstrosity meant to do, anyway?
→ More replies (1)46
88
25
117
Oct 09 '22
Rust I think is the only possible answer here and still some people don't like it, but it got most loved language on the stack overflow 2020 survey
→ More replies (10)106
u/yurimtoo Oct 09 '22
Hi I am here to complain about Rust
19
8
16
Oct 09 '22
C anyone?
→ More replies (1)15
u/Calm_Improvement_130 Oct 10 '22
the fact that almost no one else mentioned c is proof that this is the correct answer
5
21
4
u/John-The-Bomb-2 Oct 10 '22
No. Everybody is too biased in favor of their primary programming language.
13
22
3
11
5
2
u/aaronfranke Oct 09 '22
Every language has its flaws, but there are some really good ones. C# and GDScript are both really great.
2
2
2
u/FlukyS Oct 09 '22
Generally people seem to have at least somewhat of a dislike for every language even ones they like and use. Just look at the trends in general and you will find generally what is liked.
2
u/arjunindia Oct 10 '22
Every esoteric language
Rust (Not 100% agreement)
Scratch
Go (Not 100% agreement)
Elixir (Not 100% agreement)
Kotlin (For the most part)
→ More replies (57)2
818
Oct 09 '22
He didn’t just say what I think he did, did he…
RIP bro
168
10
u/dybios Oct 09 '22
EmbeddedC and SystemC programmers just got their fresh popcorn to get a load of this drama
13
u/hobbesmaster Oct 09 '22
C++ experts hate C++, just look at every language change since 03!
→ More replies (3)
846
u/Fadamaka Oct 09 '22
Somehow I am not on this scale at all.
385
u/GreatArtificeAion Oct 09 '22
To be fair, this isn't a discrete scale, but continuous. So you might actually be there, we just don't see it
78
→ More replies (1)9
u/doctorcrimson Oct 09 '22
Technically it lists the percentiles on the top side so it is a discrete scale?
→ More replies (3)7
u/GreatArtificeAion Oct 09 '22
But it's impossible to tell where the three men start and finish, whether they overlap or not, and whether they cover the whole curve or not
→ More replies (13)18
u/JiiXu Oct 09 '22
Yeah same. I feel one of those "OP is telling on themselvs" smirks. Aaaah false sense of superiority! A couple of minutes per day is fine, I tell myself.
1.1k
Oct 09 '22
*changes "C++" to "Python" to get 10k upvotes.
644
u/GeePedicy Oct 09 '22
Then change it to Java, and get 100k
87
→ More replies (6)6
51
u/Blezerker Oct 09 '22
there are only two types of programming languages fellas — the ones people complain about and the ones nobody uses.
→ More replies (1)5
Oct 09 '22
True. However, I sure do hear a LOT of negative stuff about Perl ,PHP and Java and a whole lot less about C#, nodeJS and Rust.
→ More replies (6)7
u/bloodFarter69 Oct 09 '22
nah theres my friend who thinks he can make 100k a month by learning python
13
237
u/FIRMKUNG Oct 09 '22
I love C++ and I can agree it's shit.
107
u/realbakingbish Oct 09 '22
It’s shit, but damn, it’s also fast, highly efficient shit.
15
136
u/NBNoemi Oct 09 '22
I like working in C++...until I need to include anything that isn't standard library. There's a "package manager" of sorts related to Visual Studio but it's not very well supported.
38
10
12
→ More replies (1)2
29
u/FloweyTheFlower420 Oct 09 '22
I mean templates can be pretty annoying, but it behaves a bit like a functional programming language, which is pretty fun (pattern matching, purely declarative). With concepts, I find template metaprogramming enjoyable
→ More replies (1)
271
Oct 09 '22
C++ is great.
→ More replies (3)48
u/Traditional-Living-9 Oct 09 '22
*Cries in metaprogramming
→ More replies (9)29
u/JiiXu Oct 09 '22
I have a couple of python scripts writing my c++ source files in my current project. I love having the makefile run python scripts!
Although I should probably just refactor those into c++ as well.
→ More replies (5)
414
Oct 09 '22
Cannot wait for this meme template to die already
319
u/TheBroWHOmegalol Oct 09 '22
Trash template... Just like the templates in C++
39
u/Sir_IGetBannedAlot Oct 09 '22
Off note, where is a good place I can read about good practice template programming in C++?
→ More replies (5)53
→ More replies (7)5
5
→ More replies (3)9
u/LucasTab Oct 09 '22
I used to like the template but it's both overused and misused, which, unfortunately, really ruined it for me
66
71
u/Saturnisaperson Oct 09 '22
SO THIS PROVES I AM NOT FROM EARTH AND THAT I HAVE NOTHING IN COMMON WITH THE HUMAN RACE!?!?! Yay!
15
u/UnhingedRedneck Oct 09 '22
QUIET!! IF THE HUMANS FIND YOU WE WILL BE DESTROYED!!! GOOD DAY MY FELLOW HUMAN
12
u/Saturnisaperson Oct 09 '22
OOOOH OKAY GOOD EVENING MY FELLOW HUMAN! GOOD TIME TO BE HATING C++ HAHAHA...
46
u/YellowWizard99 Oct 09 '22
Yet, it is still widely used.
39
u/ashdog66 Oct 09 '22
That's because it's only shit if you're a dunce who can't actually program and need all sorts of safety features to prevent you from breaking shit with your ignorance. C++ has no training wheels so of course people who can't learn from mistakes or use a damn debugger are gonna call it shit
95
u/Offmyanus Oct 09 '22
Personally very much dislike C++ because it's a bit too safe for me. I like to get into the transistors directly and permanently alter them. I, of course, do not make mistakes (like other people with their ignorance), so breaking shit is not an option for me. Programmers nowadays with all their top level features like human readable code shouldn't really call themselves programmers, should they?
9
u/Professional_Fly8241 Oct 09 '22
Same, that's why I do crossword puzzles with a sharpie and never learned the keyboard shortcut to undo.
→ More replies (4)14
u/mddnaa Oct 09 '22
I can't tell if this is a joke making fun of programmers for being arrogant or not
→ More replies (2)17
u/neuromanc_r Oct 09 '22
Why do I have the feeling these "master race programmer" commenters are the ones committing unreadable and unmaintainable code that I have to waste hours trying to understand and ultimately end up rewriting later?
→ More replies (1)→ More replies (5)3
27
u/susa_66 Oct 09 '22
Their reasoning is:
c++ is shit because the memes say so
c++ is shit because... *goes on a rant full of irrelevant personal anecdotes*
c++ is shit, because everything is shit
I'm probably gonna regret this comment
→ More replies (2)
25
24
73
32
u/spam_bot42 Oct 09 '22
As a C++ programmer with 10 years of expertise, I fully agree. However, it still is one of the best options when you need the program to be fast. Only recently, alternatives like Rust have started to appear.
9
8
20
29
u/Otalek Oct 09 '22
You laugh until all your languages are compiled in some form of C/C++
2
u/UnstableNuclearCake Oct 09 '22
Not all of the were. Some were built directly with assembler or other languages that had no connection whatsoever with C.
And one can implement a complier/interpreter for any language on any language, so... that argument is kind of useless.
→ More replies (1)3
u/Morphized Oct 09 '22
And C was compiled in either B or PDP-8 (can't remember). So?
→ More replies (3)
13
68
6
u/AntiSocial_Vigilante Oct 09 '22
I mean i really just use it as c with classes, it's pretty usable that way
10
5
Oct 09 '22
There’s always that fake interview from Bjarne.
2
u/ImNrNanoGiga Oct 09 '22
Elaborate, if you would?
3
Oct 09 '22
It was lore passed around in email and newsgroups back in the day. https://www.snopes.com/fact-check/program-management/
5
5
25
u/pedersenk Oct 09 '22
Haha, this actually is an agreement point.
I use C++ almost exclusively and rarely even consider another language. However..
C++ is very shit
I can't wait to see what the next 20+ shitty years of C++ brings! :)
8
u/throwaway77993344 Oct 09 '22
What makes it shit, in your opinion?
16
u/pedersenk Oct 09 '22 edited Oct 09 '22
Mainly the 95% memory safety. It is soooo close (as in good enough) but there are areas of the standard library mostly where I feel some improvements can be made, at least some sort of official debug profile to catch programming errors. Things like locking containers in
->and[i]to detect dangling 'this'.The next part is in callback mechanisms; calling back into methods in instances is not done elegantly (i.e check out wxWidgets / FLTK). Giving rise to non-standard tech like Qt's MOC or the backwards compatibility breaking lambdas.
Controversially, I also think
autois a mistake in my opinion. Not saying it isn't needed as C++ is; the mistake I feel is earlier than that and that the language has grown in such a way that it *is* needed and is the bit that needs a bit of attention. Auto is a bit of a heavy hammer that I do see abused by Javascripters (usually alongside terrible async spaghetti).→ More replies (4)19
u/JiiXu Oct 09 '22
My favorite thing to hate about c++ (which is probably, arguably, my favorite language) is the fact that you can do things in soooo many ways - and 75% of them are just bad and wrong. Oh you want to serialize a complex data type? No worries, you can do that with lots of different syntax - pick the one that makes sense to you!
No not that one.
That one is fine, but implementation specific.
Haha that's undefined behavior right there mah boi!
Ok you can do it like that. For now...
→ More replies (4)8
u/cfyzium Oct 09 '22
The modern C++ is a great language 90% of the time. But the other 10%? It is not just some less good parts on the periphery, nay. It is an entrance to another 90% of the language made of very complex subtlety.
This is less of a joke that I would have liked it to be. The worst part of C++ is it has horrendous amount of nuances and complexity at the edge cases.
31
Oct 09 '22
C is the older brother in college who has clinical depression but is taking meds for it and is generally really cool to hangout with
C++ is the younger 13 year old brother who has 37337397439437 self-diagnosed mental illnesses and frequents Twitter
4
u/Morphized Oct 09 '22
C++ is that one college freshman who wants to try out every major
4
Oct 09 '22
c# is the person who dropped out of college and became a multi-millionaire
java is the person who graduated college and lived a standard and uninteresting normal life
6
u/Morphized Oct 09 '22
Java is one of those complete control freaks that refuse to collaborate unless they get to lead the project.
11
Oct 09 '22
doesn't use c++, doesn't know what it is
doesn't use c++, knows what it is
uses c++, doesn't know what it is
8
4
4
3
u/GOKOP Oct 09 '22
C++ is a really nice language as long as you limit it to its nice subset.
No, I'm not gonna say which subset is the nice one
3
9
u/Zuruumi Oct 09 '22
As a C++ programmer I fully agree.
I also consider most other languages much worse, but I still agree that C++ is shit.
→ More replies (1)
16
Oct 09 '22
If you ever wonder what's wrong with C++, it's explained here:
40
u/EaLordoftheDepths Oct 09 '22
No high-level built-in types
being too low-level for the author is supposed to be a flaw?
→ More replies (10)8
4
5
Oct 09 '22
C++ is so shit that a general reading knowledge of it is acceptable for a C++ dev job. The rest is niche library hell lol
2
u/MirceaKitsune Oct 09 '22
I found it's shit if you have to learn how to program in it, less so when you use the end result.
2
u/The_MAZZTer Oct 09 '22
My workplace is talking about switching from Unity to Unreal.
The other devs can't even handle C#, I can't imagine what they'll do with C++.
→ More replies (2)
2
u/avidrogue Oct 09 '22
Says the freshman failing out of “intro to computer science 2” because, you know, destructors, inheritance, and polymorphism are hard…..
2
2
2
2
u/DimBulb567 Oct 09 '22
C++ good actually (my opinions are objectively correct so you must all instantly change your minds after reading this)
2
2
2
2
2
2
Oct 10 '22
C++ is my favorite! If I need to do anything with strings, though, it is no longer my favorite haha. Python takes it from there.
2
u/jsrobson10 Oct 10 '22
Honestly I kinda like how C++ is pretty much just code however you want, sure people will be like "but you should use std::smart_ptr for everything" but if I wanna treat it as C with classes I treat it as C with classes if I wanna use all the std:: namespace stuff I can do that lol
2
4
3
3
3
u/LavenderDay3544 Oct 09 '22 edited Oct 10 '22
I have written non-trivial C++ code for embedded Linux devices and desktop apps and think it sucks. You barely passed your intro to DS&A class, still don't understand pointers, and thus hate C++.
We are not the same.
3
3
2
u/Fuck-Reddit-Mods69 Oct 09 '22
C++ is great for a lot of things however those things are not desktop, frontend or backend.
2
Oct 10 '22
I just feel sad for your puny little brain. Coding is not for you, thinking is not for you. You better do tiktok or something.
2
1
u/secahtah Oct 09 '22
Use the right tool for the job.
2
u/Morphized Oct 09 '22
C++ is one of those multitools that have 50 different screwdrivers and they're all folded into one section and you can't see them that well.
1
1
1
1
1
u/Maleficent_Sir_4753 Oct 09 '22
C++ is only as shit as the amount of preprocessor and template usage that exists in the application you're writing.
1
1
1

64
u/Ok_Elderberry5342 Oct 09 '22 edited Oct 09 '22
hello, it seems like your code has instances of unsafe features of the language (on line 85, 153 and 173) that could cause problems in further development and refactoring. If you wrote this code in the rust programming language this couldn't have happend since of rust's memory safety that also gives the dev full control over memory. If you want to be a poor scum that continues tuning memory like a monkey continue, while we rust users drink our fine glasses of wine in your pretty suits