Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Pythonic indentation (or: beating a dead horse)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="rzed, post: 4640567"] If I'm reading this right, given x.foreach ... if ... while ... do_something something_else .... would pop an end at the level of the 'while' only. You really need an end there and at each succeeding dedent level up to the level of the next statement ('something_else'). Not saying this is something that should be done, but if it is done, that's what you need to do. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Pythonic indentation (or: beating a dead horse)
Top