4 ms·
> Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged - the compiler knows the types anyway and can check those, and i
by dom0 9y ago
> Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged - the compiler knows the types anyway and can check those, and it only confuses the programmer. No wonder MicroSoft makes buggy programs.
This refers to systems hungarian, the brain-dead twin of apps hungarian. The latter can be useful in C.
- quotemstr 9y ago"Apps Hungarian" is what happens naturally when defining meaningful variable names. You don't need to systematize it.
- greggman 9y agoThere are advantsges to systematizing it. https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...