Timeline for What syntax element do you hate most in a programming language you use frequently?
Current License: CC BY-SA 2.5
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 18, 2010 at 5:52 | comment | added | greyfade | It's not really a theoretical CS argument: Using a reinterpret_cast in C++ is a very strong code smell. 99% of the time, when you are about to use it, chances are, you shouldn't need to - you probably did something wrong. The other 1% of the time, you're interfacing with C. reinterpret_cast breaks the type system to make something work when it otherwise can't. That's usually a bad thing. | |
| Sep 7, 2010 at 4:36 | comment | added | AShelly | To me that's a good theoretical computer science kind of argument, but in my experience, it's too useful to avoid (However, much of my experience is plain old C, so I probably have a bias). | |
| Sep 4, 2010 at 20:58 | comment | added | greyfade | It's ugly to remind you that you should strive to write code that doesn't require it. :) | |
| Sep 4, 2010 at 17:09 | history | answered | AShelly | CC BY-SA 2.5 |