Re:Things People Eventually Learn About JavaScript Projects
by FlipperBucket on Monday August 20, 2018 @03:52PM
(#17803306)
I prefer a convention of semantically relevant variable names prefixed/suffixed by a letter indicating type.
[ Parent
| on HN ]
Re:Things People Eventually Learn About JavaScript Projects
by Sharlin on Monday August 20, 2018 @03:59PM
(#17803375)
Didn't we already collectively decide that Hungarian notation is a bad idea? About 20 years ago?
Re:Things People Eventually Learn About JavaScript Projects
by FlipperBucket on Monday August 20, 2018 @06:57PM
(#17804862)
No. It's alive and particularly pragmatic in dynamic languages. The type of sigil, @ or $ or I or Array(space) are all equal to the interpreter. The difference is how offended you might be that type annotations are semantically identical.