Jeena to Programmer [email protected]English • 1 month ago1 hour in Javapiefed.jeena.netimagemessage-square100fedilinkarrow-up1747arrow-down135 cross-posted to: [email protected]
arrow-up1712arrow-down1image1 hour in Javapiefed.jeena.netJeena to Programmer [email protected]English • 1 month agomessage-square100fedilink cross-posted to: [email protected]
minus-squareEpheralinkfedilink2•1 month agoTorvalds wrote this about C. There’s plenty languages where it’s much more common and less of a complexity indicator to open up scopes.
minus-square@[email protected]linkfedilink6•1 month agoCorrect, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply? The Zen of Python: Flat is better than nested. From the python I have seen and written, deep nesting is avoided.
Torvalds wrote this about C. There’s plenty languages where it’s much more common and less of a complexity indicator to open up scopes.
Correct, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply?
The Zen of Python:
From the python I have seen and written, deep nesting is avoided.