-
-
Save aconbere/371707 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // If foo is true, then we do all this stuff | |
| if (foo) { | |
| // Do foo stuff | |
| } | |
| // This is the stuff that happens in the else case | |
| // but now I'm going to keep writing | |
| // and eventually this else will move further | |
| // and further down the page | |
| // and at somepoint, it wont seem logically connected | |
| // to the if at all. | |
| // | |
| // In fact... I'll have to scroll up the page and look | |
| // for the appropriate if that matches this condition | |
| // in the first place. | |
| // | |
| // If I moved this comment /into/ the else | |
| // I'll always know where the initial condition is. | |
| else { | |
| // asdf here is 'QWER' because we like it | |
| var asdf = 'QWER'; | |
| // zoobie ... well, what to say about zoobie | |
| var zoobie = 'FRANG'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment