Re:WTFPython – Understanding Python through surprising snippets
by GordonS on Monday December 23, 2019 @06:35AM
(#21862988)
Hmm, I'm not really a fan of indentation based control flow, but I see the appeal of condensing code vertically.
I primarily work with C#, but I've gradually come to like the "K&R"/Javascript style (where the 1st brace is at the end of the first line), precisely because it helps condense code vertically.
I primarily work with C#, but I've gradually come to like the "K&R"/Javascript style (where the 1st brace is at the end of the first line), precisely because it helps condense code vertically.