LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 1 天前

Paradox

quokk.au

message-square
65
fedilink
811

Paradox

quokk.au

𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 1 天前
message-square
65
fedilink
  • Chloé 🥕@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    145
    ·
    edit-2
    1 天前

    Picture of a computer monitor showing a text editor with the code "if true {}". The font size is so big the code takes most of the width of the monitor.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      1 天前

      come the fuck on

      string bigIfTrue(Boolean size)
      {
          string toAssign = '';
          if (size == true)
          {
              toAssign = 'big';
          }
          else
          {
              toAssign = 'small';
          }
          return toAssign;
      }
      
      • OpenStars@discuss.online
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 小时前

        So very wrong.

        “big” != “Big”

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 小时前

          shit time to git commit sudoku

          • OpenStars@discuss.online
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 小时前

            Syntactically correct - the best kind of correct!!

      • not@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        13
        ·
        17 小时前
        true ? 'big' : '';
        
        • grrgyle@slrpnk.net
          link
          fedilink
          arrow-up
          3
          ·
          10 小时前

          My beloved

      • Axolotl@feddit.it
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        15 小时前
        String bigIfTrue(Boolean size)
        {
            if (size == true){ return "big" }
            return "small";
        }
        
      • bstix@feddit.dk
        link
        fedilink
        arrow-up
        30
        ·
        24 小时前

        Bloat. Nobody asked for else.

        • mcv@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          11 小时前

          Or assignment. Just return.

      • Hasherm0n@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        23 小时前

        Where’s your interface and factory?

        • fruitycoder@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          6 小时前

          This actually gets loaded as a WASM module by a server less API service when a user ask if true return big

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          23 小时前

          hey, this is for fun and pseudocode.

          • gravitas_deficiency@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            6
            ·
            20 小时前

            • grrgyle@slrpnk.net
              link
              fedilink
              arrow-up
              1
              ·
              10 小时前

              Saved

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 天前

      That is indeed a big one!

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.59K users / day
  • 4K users / week
  • 7.49K users / month
  • 16.6K users / 6 months
  • 1 local subscriber
  • 33.1K subscribers
  • 1.52K Posts
  • 32.7K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org