schoenwolf-schroeder
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@hypertown@lemmy.world to Programmer Humor@programming.dev • 11 months ago

Life is hard

lemmy.world

message-square
35
fedilink
1

Life is hard

lemmy.world

@hypertown@lemmy.world to Programmer Humor@programming.dev • 11 months ago
message-square
35
fedilink
alert-triangle
You must log in or register to comment.
  • @jaybone@lemmy.world
    link
    fedilink
    0•11 months ago

    Is that a vaio?

  • @const_void@lemmy.ml
    link
    fedilink
    0•11 months ago

    Lol

  • @NegativeLookBehind@lemmy.world
    link
    fedilink
    English
    0•11 months ago

    And pain is immutable

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆
    link
    fedilink
    English
    0•11 months ago

    For (life) { suffering; }

  • @flerp@lemm.ee
    link
    fedilink
    0•11 months ago

    bool theEnd;

  • @randompasta@lemmy.today
    link
    fedilink
    0•11 months ago

    Meanwhile in France: Lunch time!

    • @lockhart@lemmy.ml
      link
      fedilink
      0•11 months ago

      can’t stop eating though

      • @onion@feddit.de
        link
        fedilink
        0•11 months ago

        Can’t stop eating dough

        • @jaybone@lemmy.world
          link
          fedilink
          0•11 months ago

          Baguette du fromage

    • oce 🐆
      link
      fedilink
      0•11 months ago

      For mage in pain:

  • @jflorez@sh.itjust.works
    link
    fedilink
    English
    0•11 months ago

    If they move to Python they can just have pain without constant 😜

    • @lugal@sopuli.xyz
      link
      fedilink
      0•11 months ago

      And if they learned French instead, they had bread but this is not how it works. We don’t always get what we want nor what we deserve

  • @henfredemars@infosec.pub
    link
    fedilink
    English
    0•
    edit-2
    11 months ago

    Missing type or identifier.

    A const what?

    • @Kaboom@reddthat.com
      link
      fedilink
      0•11 months ago

      Its javascript, itll just let you do that

      • @vithigar@lemmy.ca
        link
        fedilink
        0•11 months ago

        it’ll just let you do that

        Pretty much sums up JavaScript’s entire philosophy.

        • @jaybone@lemmy.world
          link
          fedilink
          0•11 months ago

          Let me just coalesce these types for you.

        • @Kaboom@reddthat.com
          link
          fedilink
          0•11 months ago

          Imo, its better for it. A tool shouldnt tell the user what to do

          • Ziglin (it/they)
            link
            fedilink
            0•11 months ago

            But the CPU would be thoroughly confused in many cases. Like if you added a number with a string. This means low level tools have too and therefore people who do low level programming are confused and the generally carefree has rules can make it difficult to debug js.

            Also I think rust making you write “safe” code unless you explicitly tell it otherwise is a great thing.

            So I think that tools telling the user that they’re doing something wrong is great, tools telling the user to stick with physical limitations for better performance are completely valid but what js does seem really weird with having constants be reassignable, making them nothing but labels combined with HTML I find it even more annoying.

            • Justas🇱🇹
              link
              fedilink
              0•11 months ago

              [‘a’] + [‘b’] = ‘ab’

              Gets me every time.

              • Ziglin (it/they)
                link
                fedilink
                0•11 months ago

                I’m always more confused by adding integers to strings or something being an empty object because something else was undefined and the console didn’t bother to tell me.

          • @skulbuny@sh.itjust.works
            link
            fedilink
            English
            0•
            edit-2
            11 months ago

            You’re downvoted, but you’re 100% right. The web is designed to not break. Engineers who can’t accept that don’t get to complain

          • Ephera
            link
            fedilink
            0•
            edit-2
            11 months ago

            I think, most of us consider it part of the job of a good tool, that it prevents us from using it wrongly. Allows us to use it much more recklessly.

    • @9point6@lemmy.world
      link
      fedilink
      0•11 months ago

      void

      • @S0UPernova@lemmy.world
        link
        fedilink
        0•11 months ago

        Maybe…

        const pain = Infinity
        
    • @hypertown@lemmy.worldOP
      link
      fedilink
      0•11 months ago

      :any

    • @pipe01@programming.dev
      link
      fedilink
      0•11 months ago

      Ackshually you don’t need a type qualifier in C

      • @henfredemars@infosec.pub
        link
        fedilink
        English
        0•11 months ago

        Really? TIL.

        • @zaphod@sopuli.xyz
          link
          fedilink
          0•11 months ago

          Defaults to int if I’m not mistaken.

      • @Static_Rocket@lemmy.world
        link
        fedilink
        English
        0•
        edit-2
        11 months ago

        Well, assuming you meant type specifier, at least not before C99. After that it is required. C23 explicitly states that a type specifier is required for all declarations.

        If you actually meant type qualifier, then no. That was never required.

    • @TurtleTourParty@midwest.social
      link
      fedilink
      English
      0•11 months ago

      const long pain = 1;

      • @jaybone@lemmy.world
        link
        fedilink
        0•11 months ago

        1L

  • @danhab99@programming.dev
    link
    fedilink
    0•11 months ago

    Age or experience? Because both are funny

  • @ArbitraryValue@sh.itjust.works
    link
    fedilink
    English
    0•11 months ago

    I spent those years in dll hell.

    • @jaybone@lemmy.world
      link
      fedilink
      0•11 months ago

      .so please, I use arch btw.

  • Richard
    link
    fedilink
    English
    0•11 months ago

    The variable is not initialised.

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
  • 94 users / day
  • 447 users / week
  • 1.26K users / month
  • 3.69K users / 6 months
  • 23K subscribers
  • 1.21K Posts
  • 34.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org