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

linuxmemes

21172 readers
1041 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!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Rossphorus@lemm.ee 76 points 6 months ago (3 children)

    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 6 months ago (1 children)
    [–] acockworkorange@mander.xyz 33 points 6 months ago (2 children)

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

    [–] Vilian@lemmy.ca 5 points 6 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 6 months ago* (last edited 6 months ago) (1 children)

    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 6 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 6 months ago

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

    [–] blind3rdeye@lemm.ee 12 points 6 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...)