Lemmy.World
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 2 months ago

Paradox

quokk.au

message-square
72
link
fedilink
843

Paradox

quokk.au

𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 2 months ago
message-square
72
link
fedilink
  • Blibly
    link
    fedilink
    arrow-up
    69
    ·
    2 months ago

    Big if true

    • Chloé 🥕@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      152
      ·
      2 months ago

      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
        link
        fedilink
        arrow-up
        20
        ·
        2 months ago

        come the fuck on

        string bigIfTrue(Boolean size)
        {
            string toAssign = '';
            if (size == true)
            {
                toAssign = 'big';
            }
            else
            {
                toAssign = 'small';
            }
            return toAssign;
        }
        
        • bstix@feddit.dk
          link
          fedilink
          arrow-up
          32
          ·
          2 months ago

          Bloat. Nobody asked for else.

          • mcv@lemmy.zip
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            Or assignment. Just return.

        • not@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          18
          ·
          2 months ago
          true ? 'big' : '';
          
          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            3
            ·
            2 months ago

            My beloved

        • Hasherm0n
          link
          fedilink
          arrow-up
          14
          ·
          2 months ago

          Where’s your interface and factory?

          • fruitycoder@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            2 months ago

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

          • Skullgrid
            link
            fedilink
            arrow-up
            2
            arrow-down
            2
            ·
            2 months ago

            hey, this is for fun and pseudocode.

            • gravitas_deficiency@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              6
              ·
              2 months ago

              • grrgyle@slrpnk.net
                link
                fedilink
                arrow-up
                1
                ·
                2 months ago

                Saved

        • Axolotl@feddit.it
          link
          fedilink
          arrow-up
          5
          ·
          2 months ago
          String bigIfTrue(Boolean size)
          {
              if (size == true){ return "big" }
              return "small";
          }
          
        • OpenStars@discuss.online
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          So very wrong.

          “big” != “Big”

          • Skullgrid
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            shit time to git commit sudoku

            • OpenStars@discuss.online
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 months ago

              Syntactically correct - the best kind of correct!!

      • marlowe221
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months ago

        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: [email protected]

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 4.04K users / day
  • 5.4K users / week
  • 8.52K users / month
  • 16K users / 6 months
  • 9.44K local subscribers
  • 33.8K subscribers
  • 2.6K Posts
  • 100K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: 0.19.20-5-ga406e80b
  • BE: 0.19.19-9-gc55dd700c
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org