The RadiantFig
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 8 days ago

Paradox

message-square
61
link
fedilink
721

Paradox

𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 8 days ago
message-square
61
link
fedilink
  • Chloé 🥕@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    125
    ·
    8 days 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@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      7 days 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
        21
        ·
        7 days ago

        Bloat. Nobody asked for else.

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

          Or assignment. Just return.

      • not@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        12
        ·
        7 days ago
        true ? 'big' : '';
        
      • Hasherm0n@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        7 days ago

        Where’s your interface and factory?

        • fruitycoder@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          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
          2
          ·
          7 days ago

          hey, this is for fun and pseudocode.

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 days 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: !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.

  • 531 users / day
  • 2.34K users / week
  • 6.6K users / month
  • 6.69K users / 6 months
  • 1 local subscriber
  • 33.2K subscribers
  • 244 Posts
  • 2.33K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org