The '$' being used in variable names I think originates from the word 'string', from when it was necessary to differentiate types of variable in the code. It never related to currency.
A bit like people who get annoyed by the word soccer, an English word originally to distinguish Association Football (soccer) from Rugby Football (rugger) and other codes.
martin_a|3 years ago
dools|3 years ago
elric|3 years ago
avian|3 years ago
One counter-example I know first hand: Sinclair ROM BASIC uses $ for denoting strings, in both variable and function names.
The one I have in a Spectrum is copyrighted 1982, around 5 years before first Perl was released.
I'm sure there are older examples like this.
shaftoe444|3 years ago
bearmode|3 years ago
dylan604|3 years ago
https://www.youtube.com/watch?v=CGVKVTcfy2E