On Wed, Jul 4, 2018 at 12:28 PM, Viacheslav Usov wrote:
The $ prefix seems, to me, like an ugly wart purely aesthetically
Dollar could not by ugly. It is a money symbol :-) Or did you mean "$ is ugly because it looks too Perl/PHP-ish"? :-)
Does "@" look more esthetically than "$"?
6. A new statement is provided to declare globals.
Declaring each used global in special global-declaration-statement is boring.
When you want to determine whether this variable is global or not, you have to search for global-declaration-statement that may be located far from the current line.
On the opposite, when you see "$var", you already know (immediately and without any efforts) that "var" is global.
So, "$var" notation results in more easily readable code.