this post was submitted on 09 Jun 2025
495 points (97.9% liked)
memes
15473 readers
5016 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
C++ gives you enough rope to shoot yourself in the foot. If you did not know rope could do that you should have read the manual.
It's like a chainsaw with all the bells and whistles but all the safety features removed. Sure you can chop wood with it really fast and probably stone too if you #include diamondteeth library, you can even hammer in nails if you #include hammer. But you are alone responsible for your safety and it's probably not the best tool for any given job.
You should also really be using the latest chainsaw model with new safety features, but your workplace swears by the gas guzzling piece of shit from 1996
I loved when my IDE would warn me that my code wasn't deterministic unless I used c++11 or newer compilers because previous versions technically didn't define how it should work, so every compiler handled it differently.
And all the times I had to specify C++11 because it had features I needed, and suddenly it was a huge headache because the testing pipeline wasn't REALLY compatible, it just said it was, and then handed it off to manual review. Something I didn't know until 6 months after I started using it...
The new safety features all break down under stress and make the tool as safe as the 1996 piece as soon as you put them in a dangerous environment.
Also, both the new and the 1996 pieces have hidden explosives that were placed there by the new tooling used to build them. Nobody will tell you where they are, you should know that already. Don't hit them.
Do they? As long as you use RAII and modern shit and keep to something like GCC, it should be safe, right?
I don't do C++ these days
Are you phishing for an Anakin / Padme meme?
Like a real powertool, if you unscrew the safety features because you feel they're getting in your way, they no longer provide safety. Having the guard from a chainsaw in your back pocket does nothing to protect you from the chainsaw you're holding.
Byarne Stroustrup (original creator of c++)
The incredible thing about this chainsaw is that no two people use it the same way. You think you knew most things about the chainsaw until you see someone else use it. They use a completely different technique, holding it in a way you never considered a possibility, and use buttons you didn’t know were even there - let alone what they are for. They’re equally mystified in terror when they see you use the chainsaw.
No programming language in the world can keep you from shooting yourself in the foot.
No chainsaw in the world can prevent you from chopping your leg off. Modern ones have a kickback bar, safety throttle, chain catcher, centrifugal clutch etc making it harder.
True, but some make it easier than others. In some cases, they default to foot shooting, you have to work to shoot elsewhere.
The bells and whistles would need to be pretty loud to be heard over the regular chainsaw operation noises