minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
kiri@ani.social to Programmer Humor@programming.dev ·
edit-2
1 year ago

C++

ani.social

message-square
65
link
fedilink
153

C++

ani.social

kiri@ani.social to Programmer Humor@programming.dev ·
edit-2
1 year ago
message-square
65
link
fedilink

by trg_thanh

  • RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    1 year ago

    Except that many other languages have proven that C++ is simply terrible at providing meaningful errors.

    • SorryQuick@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      1 year ago

      The whole point of a segfault is that you can’t really know anything about it. Even in rust, when you get a segfault there is no meaningful error.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        1 year ago

        point is, Rust manages to give you not a segfault but a meaningful error almost all the time until you use unsafe

        • SorryQuick@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          If you’re getting a segfault in C++, it’s also cause you used unsafe code. It’s just not officially enclosed in an “unsafe” block.

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I wish there was something like that for SQL

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        1 year ago

        We can always make a Rust Query Language

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Feels like some arcane divination magic, I WANT IT

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.58K users / day
  • 1.62K users / week
  • 4.7K users / month
  • 8.33K users / 6 months
  • 1 local subscriber
  • 30.9K subscribers
  • 2.01K Posts
  • 52.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org