Closed retokromer closed 6 years ago
Any reason you like the idea of unset at the top instead of the blank variable? I think even the blank variable was unnecessary but it just helped me remember to call getConfiguredClient when debugging
Initialising empty variables with unset is considered good practice. Yet it’s mainly a matter of taste, I presume.
P.S. – In other functions you do actually use unset, e.g. in currency.
I've used it before but only to set a variable to blank after it has been given a value I didn't think of doing it for the initial declaration of the variable
Thank you, @alexanderepstein, for maintaining the Bash Snippets! I know many who use these.
No problem @retokromer ! I'll do my best to maintain these forever, I'm glad to hear that people like them and use them :+1:
Pull Request Label:
Pull Request Checklist:
bats tests
?