Click here to Skip to main content
15,889,200 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Thats why i hate c++ Pin
Michael Kingsford Gray27-Apr-12 2:45
Michael Kingsford Gray27-Apr-12 2:45 
GeneralRe: Thats why i hate c++ PinPopular
Pranit Kothari26-Apr-12 18:38
Pranit Kothari26-Apr-12 18:38 
GeneralRe: Thats why i hate c++ Pin
wcsystems28-Apr-12 7:21
wcsystems28-Apr-12 7:21 
GeneralRe: Thats why i hate c++ Pin
code_junkie27-Apr-12 5:02
code_junkie27-Apr-12 5:02 
GeneralRe: Thats why i hate c++ Pin
KP Lee27-Apr-12 13:59
KP Lee27-Apr-12 13:59 
GeneralRe: Thats why i hate c++ Pin
Florin Jurcovici27-Apr-12 8:50
Florin Jurcovici27-Apr-12 8:50 
GeneralRe: Thats why i hate c++ Pin
Gerry Schmitz27-Apr-12 11:45
mveGerry Schmitz27-Apr-12 11:45 
GeneralRe: Thats why i hate c++ Pin
giuchici29-Apr-12 6:36
giuchici29-Apr-12 6:36 
When 19 people (at least until now) vote you 1 it's time to accept you are either mistaken or plain different.
What you are doing is to blame a language for problems that are caused maybe by a compiler, the way you wrote the code, 3rd party library, ... . I bet you don't hate C++ but the whole set of tools that you are using to write code in C++. Then to talk back to people when you don't seem to know about release and debug versions it doesn't look well.

I hate a tiny bit C++ but I hate it for what really belongs to it: the "*", the "&" and the "->". It is brutal to understand C++ code sometimes. That's why C# came as a blessing for me.

Stop being frustrated and revisit your code, you'll make it better and learn in the process.

Cheers.
giuchici

GeneralQuick Nap PinPopular
Pascal Ganaye23-Apr-12 4:18
Pascal Ganaye23-Apr-12 4:18 
GeneralRe: Quick Nap Pin
CDP180223-Apr-12 4:30
CDP180223-Apr-12 4:30 
GeneralRe: Quick Nap Pin
Jörgen Andersson23-Apr-12 23:35
professionalJörgen Andersson23-Apr-12 23:35 
GeneralRe: Quick Nap Pin
Steve Burchett4-May-12 18:00
Steve Burchett4-May-12 18:00 
GeneralRe: Quick Nap Pin
Pete O'Hanlon23-Apr-12 4:32
mvePete O'Hanlon23-Apr-12 4:32 
GeneralRe: Quick Nap Pin
OriginalGriff23-Apr-12 4:36
mveOriginalGriff23-Apr-12 4:36 
GeneralRe: Quick Nap Pin
CDP180223-Apr-12 4:38
CDP180223-Apr-12 4:38 
GeneralRe: Quick Nap Pin
aureliosjr23-Apr-12 22:46
aureliosjr23-Apr-12 22:46 
GeneralRe: Quick Nap Pin
krsmichael27-Apr-12 6:58
krsmichael27-Apr-12 6:58 
GeneralRe: Quick Nap PinPopular
Chris Meech23-Apr-12 5:42
Chris Meech23-Apr-12 5:42 
GeneralRe: Quick Nap PinPopular
BobJanova23-Apr-12 6:19
BobJanova23-Apr-12 6:19 
GeneralRe: Quick Nap Pin
Lutosław23-Apr-12 6:26
Lutosław23-Apr-12 6:26 
GeneralRe: Quick Nap Pin
Keith Barrow23-Apr-12 8:51
professionalKeith Barrow23-Apr-12 8:51 
GeneralRe: Quick Nap Pin
spencepk24-Apr-12 6:25
spencepk24-Apr-12 6:25 
GeneralRe: Quick Nap Pin
AspDotNetDev24-Apr-12 7:29
protectorAspDotNetDev24-Apr-12 7:29 
JokeRe: Quick Nap Pin
Albert Holguin24-Apr-12 8:54
professionalAlbert Holguin24-Apr-12 8:54 
GeneralRe: Quick Nap Pin
PIEBALDconsult24-Apr-12 11:58
mvePIEBALDconsult24-Apr-12 11:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.