goto

There are 1 entries for the tag goto
Siamo sicuri che il goto sia estinto?

La scorsa settimana durante una code review, mi sono imbattuto in questo pezzo di codice (ho tolto alcune parti per non allungare troppo il post): // [Cut] case USER_AGENT: // [Cut]...various code.... goto default; //we want it to be added to serverVariables case CONTENT_TYPE: // [Cut]...more code (with some "if") goto default; //we want it to be added to serverVariables case USER_LANGUAGE: ParseUserLanguage(variableValue); break; default: ServerVariables.Add(variableName, variableValue); ...

posted @ giovedì 12 marzo 2009 21:53 | Feedback (13)