IF ELSE PRO
-
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
-
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
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.
-
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.
Don't forget expressiveness.
-
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
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...
-
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...
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