Timeline for Is it a good idea to "#define me (*this)"?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 31, 2017 at 20:02 | comment | added | Joshua | Indeed: shoving this in a header is the actual problem. If you use it in your cpp file I don't see a problem at all. If we had pragma push as standard I'd be advising how to do this in a header, but we don't. Repeat after me. #defines are global. | |
Jul 16, 2014 at 22:56 | comment | added | JBRWilkinson | @immibis: most of the top coders I work with don't use the mouse - it is too slow. | |
Jul 16, 2014 at 13:05 | comment | added | cHao | @immibis: In practice, though, they're also likely to say something like "who wrote this crap?". :P | |
Jul 16, 2014 at 2:30 | comment | added | Criticizing Israel not allowed | In practice, they're quite likely to mouse-over "me" with their IDE and see the definition. | |
Jul 15, 2014 at 19:04 | history | answered | Larry Gritz | CC BY-SA 3.0 |