top | item 35638741

(no title)

mustardo | 2 years ago

A Hungarian notation but as a suffix?

Ignoring variable name shadowing a static type system helps a lot

https://en.m.wikipedia.org/wiki/Hungarian_notation

discuss

order

prettyStandard|2 years ago

> Hungarian notation but as a suffix

Yeah, but only when it adds to the readability. I avoid mentioning Hungarian notation because I don't like it either. I think many criticisms still apply, so I suggest the use case before, where you have the same data passing through multiple types. There may be other good use cases, but I am not sure what those are. This is why my general rule, is "most important words first", I think that technically covers this use case.