Click here to Skip to main content
11,710,423 members (85,017 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 14:10
memberMatthew Faithfull20-Mar-13 14:10 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 14:13
memberlewax0020-Mar-13 14:13 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 14:29
memberMatthew Faithfull20-Mar-13 14:29 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 14:39
memberlewax0020-Mar-13 14:39 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 15:10
memberMatthew Faithfull20-Mar-13 15:10 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Mike Winiberg21-Mar-13 22:14
memberMike Winiberg21-Mar-13 22:14 
GeneralRe: Does this language feature seem strange to anyone else? Pin
AspDotNetDev20-Mar-13 13:56
protectorAspDotNetDev20-Mar-13 13:56 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 14:06
memberlewax0020-Mar-13 14:06 
GeneralRe: Does this language feature seem strange to anyone else? Pin
AspDotNetDev20-Mar-13 14:09
protectorAspDotNetDev20-Mar-13 14:09 
GeneralRe: Does this language feature seem strange to anyone else? Pin
jschell21-Mar-13 10:04
memberjschell21-Mar-13 10:04 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0021-Mar-13 10:27
memberlewax0021-Mar-13 10:27 
GeneralRe: Does this language feature seem strange to anyone else? Pin
César de Souza22-Mar-13 0:43
memberCésar de Souza22-Mar-13 0:43 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 10:58
memberlewax0022-Mar-13 10:58 
GeneralRe: Does this language feature seem strange to anyone else? Pin
englebart22-Mar-13 2:26
memberenglebart22-Mar-13 2:26 
So it seems like in your case it would be safest to setup your enum like:

{None=0, Forward=1, Backward=2}

If you ever receive a None, you could email yourself a stacktrace.
Also, include a default case with similar behavior.
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 10:41
memberlewax0022-Mar-13 10:41 
GeneralRe: Does this language feature seem strange to anyone else? Pin
RafagaX22-Mar-13 6:40
memberRafagaX22-Mar-13 6:40 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Chadwick Posey22-Mar-13 7:48
memberChadwick Posey22-Mar-13 7:48 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 10:45
memberlewax0022-Mar-13 10:45 
GeneralReading Code Pin
Kyudos20-Mar-13 11:22
memberKyudos20-Mar-13 11:22 
GeneralRe: Reading Code Pin
wizardzz20-Mar-13 11:29
memberwizardzz20-Mar-13 11:29 
GeneralRe: Reading Code Pin
AspDotNetDev20-Mar-13 11:40
protectorAspDotNetDev20-Mar-13 11:40 
JokeRe: Reading Code Pin
Kyudos20-Mar-13 11:47
memberKyudos20-Mar-13 11:47 
GeneralRe: Reading Code Pin
lewax0020-Mar-13 11:42
memberlewax0020-Mar-13 11:42 
GeneralRe: Reading Code Pin
CDP180220-Mar-13 11:39
memberCDP180220-Mar-13 11:39 
GeneralRe: Reading Code Pin
dusty_dex20-Mar-13 11:45
memberdusty_dex20-Mar-13 11:45 
JokeRe: Reading Code Pin
Kyudos20-Mar-13 11:48
memberKyudos20-Mar-13 11:48 
GeneralRe: Reading Code Pin
PIEBALDconsult20-Mar-13 12:50
memberPIEBALDconsult20-Mar-13 12:50 
GeneralRe: Reading Code Pin
Rob Grainger22-Mar-13 3:00
memberRob Grainger22-Mar-13 3:00 
GeneralRe: Reading Code Pin
Eddy Vluggen20-Mar-13 12:45
mvpEddy Vluggen20-Mar-13 12:45 
GeneralRe: Reading Code Pin
_Josh_20-Mar-13 13:31
member_Josh_20-Mar-13 13:31 
GeneralRe: Reading Code Pin
PIEBALDconsult20-Mar-13 13:35
memberPIEBALDconsult20-Mar-13 13:35 
GeneralRe: Reading Code Pin
Kyudos20-Mar-13 17:24
memberKyudos20-Mar-13 17:24 
JokeRe: Reading Code Pin
Vivic20-Mar-13 17:44
memberVivic20-Mar-13 17:44 
GeneralRe: Reading Code Pin
Nagy Vilmos20-Mar-13 21:09
memberNagy Vilmos20-Mar-13 21:09 
GeneralRe: Reading Code Pin
Matthew Faithfull20-Mar-13 13:46
memberMatthew Faithfull20-Mar-13 13:46 
GeneralRe: Reading Code Pin
Kyudos20-Mar-13 17:36
memberKyudos20-Mar-13 17:36 
GeneralRe: Reading Code Pin
Matthew Faithfull21-Mar-13 0:10
memberMatthew Faithfull21-Mar-13 0:10 
GeneralRe: Reading Code Pin
Super Lloyd20-Mar-13 14:14
memberSuper Lloyd20-Mar-13 14:14 
GeneralRe: Reading Code Pin
d@nish 20-Mar-13 17:24
member d@nish 20-Mar-13 17:24 
GeneralRe: Reading Code Pin
Kyudos20-Mar-13 17:39
memberKyudos20-Mar-13 17:39 
GeneralRe: Reading Code Pin
d@nish 20-Mar-13 19:27
member d@nish 20-Mar-13 19:27 
GeneralRe: Reading Code Pin
Richard MacCutchan20-Mar-13 23:05
mvpRichard MacCutchan20-Mar-13 23:05 
GeneralRe: Reading Code Pin
Mark_Wallace20-Mar-13 23:24
memberMark_Wallace20-Mar-13 23:24 
GeneralRe: Reading Code Pin
Brady Kelly20-Mar-13 23:55
memberBrady Kelly20-Mar-13 23:55 
GeneralRIP Chuck Norris' beard Pin
Pete O'Hanlon20-Mar-13 11:07
protectorPete O'Hanlon20-Mar-13 11:07 
GeneralRe: RIP Chuck Norris' beard Pin
wizardzz20-Mar-13 11:21
memberwizardzz20-Mar-13 11:21 
GeneralRe: RIP Chuck Norris' beard Pin
mark merrens20-Mar-13 12:02
membermark merrens20-Mar-13 12:02 
GeneralRe: RIP Chuck Norris' beard Pin
Mike Hankey20-Mar-13 13:50
memberMike Hankey20-Mar-13 13:50 
GeneralWARNING! Pin
Matthew Faithfull20-Mar-13 13:55
memberMatthew Faithfull20-Mar-13 13:55 
GeneralAdvice for Kevin Lynch Pin
MehGerbil20-Mar-13 9:59
memberMehGerbil20-Mar-13 9:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 1 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid