Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
chrisco255
1y ago
0 comments
Share
Changing the type on a value is an anti-pattern, in my opinion. It's not obnoxious to be explicit in your variable names.
undefined | Better HN
0 comments
default
newest
oldest
zamalek
1y ago
That implies that Hungarian notation is not obnoxious? Sure, that's a fine opinion to have, but I guarantee it is an exceedingly rare one.
zozbot234
1y ago
If you're writing in a language without strong type checking, Hungarian notation makes sense.
j
/
k
navigate · click thread line to collapse