2 ms·
Dynamic language designers have a tendency trying to reinvent the wheel, and eventually regretting that choice. Explicitly declared, lexically scoped variables
by cygx 8y ago
Dynamic language designers have a tendency trying to reinvent the wheel, and eventually regretting that choice. Explicitly declared, lexically scoped variables are the sane choice.
The Perl community realized this, and introduced 'my'. The Javascript community realized this, and introduced 'let'. I'm not sure of the current status of Python, Ruby and PHP, which from my point of view all started out with rules broken in various ways...