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. Is the glass half empty or half full?

Is the glass half empty or half full?

Scheduled Pinned Locked Moved The Lounge
helpquestion
23 Posts 14 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.
  • C Chris Maunder

    Success is only achieved after you've successfully completed a task. So: boolean success = false;

    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

    L Offline
    L Offline
    Lutoslaw
    wrote on last edited by
    #21

    Agreed. But that "boolean success = false;" at the very beginning of a method looks so sad... :((

    Greetings - Jacek

    P 1 Reply Last reply
    0
    • L Lutoslaw

      Agreed. But that "boolean success = false;" at the very beginning of a method looks so sad... :((

      Greetings - Jacek

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #22

      Which is why it should be named result.

      L 1 Reply Last reply
      0
      • P PIEBALDconsult

        Which is why it should be named result.

        L Offline
        L Offline
        Lutoslaw
        wrote on last edited by
        #23

        PIEBALDconsult wrote:

        Which is why it should be named result.

        Where result says whether it is going to rain on wensday? Or that user is pregnant? Or maybe... ekhm, nevermind. :zzz:

        Greetings - Jacek

        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