On Sun, 09 Jun 2013 20:09:31 +0200 "deadalnix" <deadalnix at gmail.com> wrote: > > switch(foobar) with(FoobarEnum) { > // ... > } > > That is golden ! Oooh! That's a good one! I don't think I've ever used "with" in any language before (never saw much point), but I probably will start using that.