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. Other Discussions
  3. The Weird and The Wonderful
  4. IF ELSE PRO

IF ELSE PRO

Scheduled Pinned Locked Moved The Weird and The Wonderful
5 Posts 5 Posters 0 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.
  • U Offline
    U Offline
    unrealweapon
    wrote on last edited by
    #1

    some if else my colleagues are using..can't say much but just went blank.. If strHeader.Substring(0, 1) = ">" Then ElseIf strHeader.Substring(0, 1) = "<" Then Else strColumn = -1 strOrder = Nothing strHeader = Nothing End If

    N S 2 Replies Last reply
    0
    • U unrealweapon

      some if else my colleagues are using..can't say much but just went blank.. If strHeader.Substring(0, 1) = ">" Then ElseIf strHeader.Substring(0, 1) = "<" Then Else strColumn = -1 strOrder = Nothing strHeader = Nothing End If

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      That makes me happy. It's so nice to see code where there is such an in depth understanding of efficiency, eligance and maintainability. Give your colleagues a *special* reward.


      Panic, Chaos, Destruction. My work here is done.

      P 1 Reply Last reply
      0
      • N Nagy Vilmos

        That makes me happy. It's so nice to see code where there is such an in depth understanding of efficiency, eligance and maintainability. Give your colleagues a *special* reward.


        Panic, Chaos, Destruction. My work here is done.

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

        Don't forget expressiveness.

        1 Reply Last reply
        0
        • U unrealweapon

          some if else my colleagues are using..can't say much but just went blank.. If strHeader.Substring(0, 1) = ">" Then ElseIf strHeader.Substring(0, 1) = "<" Then Else strColumn = -1 strOrder = Nothing strHeader = Nothing End If

          S Offline
          S Offline
          Scott Barbour
          wrote on last edited by
          #4

          Look on the bright side... at least if the specs change in the future and you actually DO need to do something when those conditions are true, the structure is already in place...

          P 1 Reply Last reply
          0
          • S Scott Barbour

            Look on the bright side... at least if the specs change in the future and you actually DO need to do something when those conditions are true, the structure is already in place...

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            Scott Barbour wrote:

            Look on the bright side... at least if the specs change in the future and you actually DO need to do something when those conditions are true, the structure is already in place...

            Sounds like somebody might have been thinking ahead...

            "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

            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