Re:Twitter urges users to change passwords after computer 'g...
by lawl on Thursday May 03, 2018 @10:16PM
(#16991735)
In this specific case DEBUGLEVEL should be a constant anyways, and thus assignment should fail, no? Also kind of denoted by being all caps.
[ Parent
| on HN ]
Re:Twitter urges users to change passwords after computer 'g...
by stan_rogers on Thursday May 03, 2018 @11:16PM
(#16991966)
Conventions cause assumptions.
Re:Twitter urges users to change passwords after computer 'g...
by anyzen on Friday May 04, 2018 @02:45AM
(#16992665)
There are always assumptions being made, no matter what you do. But "uppercase -> constant" is such a generic and cross-platform convention that it should always be followed. This code should never have passed code review for this glitch alone.