Timeline for How to initialize variables for a script
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 5, 2017 at 12:51 | comment | added | xenoid | if you are just testing for value existence (and won't test for value range etc...) then @Kusalananda's suggestion is the way to go. But at that point clutter is in the eye of the beholder. If the purpose of that section is obvious, it is easy to skip when reading the source. | |
| Dec 5, 2017 at 11:13 | comment | added | Jim | Ok but is there a way to somehow "hide" this part from the main script functionality? | |
| Dec 5, 2017 at 11:05 | history | answered | xenoid | CC BY-SA 3.0 |