|
|
|
|
|
by Syrup-tan
3900 days ago
|
|
With JavaScript enabled on GitHub, the separate links highlight different sections of the code. If you start with if check 1 (such as in w.sh), a refactor-er would have to s/elif/if on check 2 and s/if/elif on check 1 if he wants to swap their order. By having all of the checks start with elif (such as in w2.sh), the refactor-er can change the order of the checks without having to modify them, making cleaner diffs. |
|