Re:How I, a beginner developer, read the tutorial you, a dev...
by 1718627440 on Thursday September 25, 2025 @05:51AM
(#45370963)
But that's what the actual hungarian notation was about: decoding the type of thing it represents not the data type used.
duration_ms = 1000
you can have
duration = 1s // or duration = Seconds(1) in deficient languages
and it's either a compile error or the type system enforces the correct conversion.
As for the bad rap of hungarian notation, it's mostly from people using it to encode something that is already clear from the types. "fDuration" helps no one over just "duration".