730
Supreme leader mad (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Rossphorus@lemm.ee 76 points 8 months ago

Torvalds just really dislikes C++. He's gone on the record saying that he thinks it's just not a good language. In his own words "C++ is just a waste, there is no design at all, just adding some scum on top of C."

[-] Vilian@lemmy.ca 55 points 8 months ago
[-] acockworkorange@mander.xyz 33 points 8 months ago

In the specific use case of kernel programming, maybe. But the Standard Template Library is awesome.

[-] Vilian@lemmy.ca 5 points 8 months ago

they dumped everything in the languaga, at least samething they needed to have right, it's otherwise statistically impossible

[-] magic_lobster_party@kbin.run 2 points 8 months ago* (last edited 8 months ago)

The STD is maybe the only good thing C++ has over C, and even that is awful compared to other language’s standard libraries.

I can’t name another good thing C++ has. Maybe templates. C++’s reliance on inheritance for polymorphism is awful (should’ve gone with interfaces/traits).

Not to mention the mess with all the different types of constructors that must always be implemented.

It’s just a bunch of bad design choices added on top of an old outdated language.

[-] acockworkorange@mander.xyz 2 points 8 months ago

The STD is maybe the only good thing C++ has over C, […]. I can’t name another good thing C++ has. Maybe templates.

Are you high? I was praising the STL, you know, the template library?

[-] nandeEbisu@lemmy.world 34 points 8 months ago

Never before have I been so offended by something I 100% agree with.

[-] blind3rdeye@lemm.ee 12 points 8 months ago

I would have agreed with that before C++11. But since then, C++ has improved a lot. Its like the vision of what C++ suddenly became more clear. So I wonder if Linus would still say that today. (Unfortunately, there have been a lot of missteps in the development of C++ though, and so there is a lot of cruft that everyone wishes was not there...)

this post was submitted on 13 Apr 2024
730 points (95.9% liked)

linuxmemes

21281 readers
192 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS