sunslayer, that is not necessarily true within aliases called as an identifier eg. $dices( , 10).
also, $$identifier isn't always suitable for error detection, and certainly not in a couple of these snippets. utility snippets such as $dices() are often used as part of larger scripts, called from other aliases, events etc. $$identifier, if $null, performs an implicit /halt (without additional implicit /haltdef) which can be very undesirable if the calling routine expects and requires that control returns to it.
so, try to think about what each part of your code is meant for, and decide if it's actually appropriate given its intended purpose.