> // ... > if (word.length == 1) goto FormatOutput; > > // if word.length > 1, some extra work has to be done > // initialize some variables, parse, do some processing etc. > > FormatOutput: > // ..... > > return output; Have never felt need to use `goto` since got familiar with `scope(something)` : http://dpaste.dzfl.pl/ca40b3b6 ;)