4 ms·
This is how a huge chunk of the Windows or Windows-trained world writes C++. You don't have to like it but it's recognizable and common.
by asveikau 8y ago
This is how a huge chunk of the Windows or Windows-trained world writes C++. You don't have to like it but it's recognizable and common.
- badsectoracula 8y agoYes, especially the m_, I, C, S, E and G stuff are very common. I think it comes from MFC. The T stuff is less common - in my current company templates are also C-prefix, but in the previous company i worked at they were T-prefixed. Some other stuff like L, F, A, s_, etc are things i came up with myself for my own code (for work code i use whatever others are using) since i didn't like the more common uses (in the previous company i worked at statics were also S prefixed, but i wanted something to separate from structs so i used L for "local"). Of course once you get used to the common style above, these "extensions" are mostly obvious so i'm certain that others are using them too.