Absolutely. Its not always possible to write self explantory code. Especially when you have to use some narly uncommon Syntax a short comment can improve the readability Quite a lot. Personally I like to comment my Parameter Expansions in Bash, since I find its Syntax quite hard to remember and therefore it can be a little bit challenging to infer the functionality just by looking at a bunch of special characters.
Absolutely. Its not always possible to write self explantory code. Especially when you have to use some narly uncommon Syntax a short comment can improve the readability Quite a lot. Personally I like to comment my Parameter Expansions in Bash, since I find its Syntax quite hard to remember and therefore it can be a little bit challenging to infer the functionality just by looking at a bunch of special characters.