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

C++

ani.social

message-square
65
fedilink
152

C++

ani.social

kiri@ani.social to Programmer Humor@programming.dev ·
edit-2
3 months ago
message-square
65
fedilink

by trg_thanh

  • riodoro1@lemmy.world
    link
    fedilink
    arrow-up
    22
    arrow-down
    2
    ·
    3 months ago

    Am I bad at programming?

    No, it’s the language thats wrong.

    • RoyaltyInTraining@lemmy.world
      link
      fedilink
      arrow-up
      23
      arrow-down
      1
      ·
      3 months 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
        3 months 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
          ·
          3 months 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
            ·
            3 months 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
        ·
        3 months ago

        I wish there was something like that for SQL

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

          We can always make a Rust Query Language

          • QuazarOmega@lemy.lol
            link
            fedilink
            arrow-up
            5
            ·
            3 months ago

            Feels like some arcane divination magic, I WANT IT

    • asdfasdfasdf@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      3 months ago

      I mean, this is correct in many cases, unironically.

      It should be one of the core purposes of a programming language to help humans to write the code they intend. If a language doesnt do that then it’s bad.

    • pimento64@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      Valid languages:

      1. HolyC

      That’s it

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        Brainfuck has entered the chat

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.

  • 117 users / day
  • 265 users / week
  • 5.96K users / month
  • 12.3K users / 6 months
  • 1 local subscriber
  • 23.7K subscribers
  • 1.44K Posts
  • 45.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org