Re:As Computer Coding Classes Swell, So Does Cheating
by SAI_Peregrinus on Tuesday May 30, 2017 @12:03AM
(#14442948)
Even better! It has exceptions! You can write code that deliberately throws an exception where the handler calls a function. It's more like come-froms than GOTOs.
Please don't do this.
Re:As Computer Coding Classes Swell, So Does Cheating
by emidln on Tuesday May 30, 2017 @11:32AM
(#14446033)
This is a somewhat common (possibly even 'Pythonic') idiom in Python.
Re:As Computer Coding Classes Swell, So Does Cheating
by lacampbell on Tuesday May 30, 2017 @06:58PM
(#14449250)
Please don't do this.
Don't hate the player, hate the game.
Re:As Computer Coding Classes Swell, So Does Cheating
by vultour on Tuesday May 30, 2017 @08:23AM
(#14444733)
I guess it's pretty common. One of my old coworkers was promoted to a mostly management position, this guy couldn't figure out how to print something out in Python without calling a colleague.
Re:As Computer Coding Classes Swell, So Does Cheating
by FLUX-YOU on Tuesday May 30, 2017 @09:26AM
(#14445160)
>Hmm. I wonder if C# has GOTOs...
Why yes, yes it does.
You can also alphabetically sort a list of 30 things by adding those things to a list line-by-line, sorting them in alphabetical order yourself.
Re:As Computer Coding Classes Swell, So Does Cheating
by lacampbell on Tuesday May 30, 2017 @06:58PM
(#14449252)
You can also alphabetically sort a list of 30 things by adding those things to a list line-by-line, sorting them in alphabetical order yourself.
I see you've worked in enterprise too!
Wait a minute, are you saying all I have to do to be promoted to Project Management is to code really badly?
Hmm. I wonder if C# has GOTOs...