Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Saw this today

Saw this today

Scheduled Pinned Locked Moved The Lounge
6 Posts 6 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yacCarsten
    wrote on last edited by
    #1

    Programmer's Joke !false Its funny because its true.

    // TODO: Insert something here

    Top ten reasons why I'm lazy 1.

    G 1 Reply Last reply
    0
    • Y yacCarsten

      Programmer's Joke !false Its funny because its true.

      // TODO: Insert something here

      Top ten reasons why I'm lazy 1.

      G Offline
      G Offline
      GKP1992
      wrote on last edited by
      #2

      Reminds me of this code someone did few months ago (I wish this was only a joke)

      bool condition;
      viewmodel.AllowSomething = !condition == true ? false : true;

      T E 2 Replies Last reply
      0
      • G GKP1992

        Reminds me of this code someone did few months ago (I wish this was only a joke)

        bool condition;
        viewmodel.AllowSomething = !condition == true ? false : true;

        T Offline
        T Offline
        trønderen
        wrote on last edited by
        #3

        Put something like that in your code to prove that it has been stolen from you when you find it out in the wild.

        Religious freedom is the freedom to say that two plus two make five.

        H J 2 Replies Last reply
        0
        • T trønderen

          Put something like that in your code to prove that it has been stolen from you when you find it out in the wild.

          Religious freedom is the freedom to say that two plus two make five.

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #4

          In my open source projects I've been known to bury silly comments deep in the source to make astute reviewers question my sanity. // The moon landing was faked. It is cheese.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          1 Reply Last reply
          0
          • T trønderen

            Put something like that in your code to prove that it has been stolen from you when you find it out in the wild.

            Religious freedom is the freedom to say that two plus two make five.

            J Offline
            J Offline
            jochance
            wrote on last edited by
            #5

            That would explain the 15ish lines I found that were setting up like they were gonna pitch something to the db but then never even opened the connection or sent anything on it.

            1 Reply Last reply
            0
            • G GKP1992

              Reminds me of this code someone did few months ago (I wish this was only a joke)

              bool condition;
              viewmodel.AllowSomething = !condition == true ? false : true;

              E Offline
              E Offline
              englebart
              wrote on last edited by
              #6

              I hope conditon is initialized elsewhere or has a default. condition definitely needs a better name, too. condition is likely calculated as a “false” condition which drives me crazy. And none of these is what you are complaining about! (scratch everything to the right of the == including the ==)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups