4 ms·
Surely a simple naming convention such as a capital letter for compound types is sufficient?
by torrent-of-ions 10y ago
Surely a simple naming convention such as a capital letter for compound types is sufficient?
- huhtenberg 10y agoOr something as basic as foo_s bar_u baz_e for structs, unions and enums respectively. Perhaps even splurge on xyz_f for function pointers... though that's getting recklessly close to the Hungarian notation :)
- Aldo_MX 10y agoI love Hungarian Notation, I mean, it's pretty intuitive that LPCTSTR is a long pointer to a (zero-terminated) constant TCHAR string. I definitely never panicked as a kid when I saw WINAPI-related code.