Re: New switch/case idea
- Posted by jeremy (admin) Apr 06, 2009
- 1706 views
DerekParnell said...
Really? I'd write it more like ...
No, I wouldn't write it how I did. Something as simple as what I suggested would be much easier how you wrote it, no sane person would write it as I did. I was just making a simple/easy to follow example of what Matt suggested for the need of having a bare break statement. He suggested that it could be useful if there was a goto statement jumping around the break. So, I coded an example w/a goto jumping around the break, then showed how the goto jump could still work w/o the break.
Jeremy