Click here to Skip to main content
15,899,754 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.

 
QuestionRe: One guidelines for C/C++ programmer - codz plz Pin
Nagy Vilmos8-Sep-08 22:04
professionalNagy Vilmos8-Sep-08 22:04 
RantRe: One guidelines for C/C++ programmer Pin
Johann Gerell9-Sep-08 0:30
Johann Gerell9-Sep-08 0:30 
GeneralRe: One guidelines for C/C++ programmer Pin
Nemanja Trifunovic9-Sep-08 5:13
Nemanja Trifunovic9-Sep-08 5:13 
GeneralRe: One guidelines for C/C++ programmer Pin
ed welch11-Sep-08 13:02
ed welch11-Sep-08 13:02 
GeneralRe: One guidelines for C/C++ programmer Pin
Joe Woodbury14-Sep-08 9:45
professionalJoe Woodbury14-Sep-08 9:45 
GeneralRe: One guidelines for C/C++ programmer Pin
ed welch12-Sep-08 2:41
ed welch12-Sep-08 2:41 
NewsRe: One guidelines for C/C++ programmer Pin
Johann Gerell12-Sep-08 3:16
Johann Gerell12-Sep-08 3:16 
GeneralRe: One guidelines for C/C++ programmer Pin
asadullah ansari25-May-10 15:45
asadullah ansari25-May-10 15:45 
first thing if programmer is dump then he can make any mistake... No one gud programmer will do this sort of mistake... So Guidelines for stupid programmer only...

As u know why this guidlines..
if(0 == x) : should use as guidelines
if(x == 0) : should not use

why first one is appreciated for stupid programmer coz he may write as if(0 = x) then error will come in this case in all compiler and second one will not give any error in max compiler...What hell this goin on...How any programmer do this mistake??? I cannt believe...
Truth Can'nt be changed

AnswerRe: One guidelines for C/C++ programmer Pin
Johann Gerell25-May-10 20:40
Johann Gerell25-May-10 20:40 
GeneralRe: One guidelines for C/C++ programmer Pin
PIEBALDconsult12-Sep-08 4:17
mvePIEBALDconsult12-Sep-08 4:17 
GeneralRe: One guidelines for C/C++ programmer Pin
Dan Neely12-Sep-08 5:46
Dan Neely12-Sep-08 5:46 
GeneralRe: One guidelines for C/C++ programmer Pin
ClementsDan9-Sep-08 22:08
ClementsDan9-Sep-08 22:08 
GeneralRe: One guidelines for C/C++ programmer Pin
Pete O'Hanlon11-Sep-08 11:08
mvePete O'Hanlon11-Sep-08 11:08 
GeneralRe: One guidelines for C/C++ programmer Pin
cpkilekofp25-Sep-08 4:08
cpkilekofp25-Sep-08 4:08 
GeneralRe: One guidelines for C/C++ programmer Pin
Julian Nicholls25-May-10 5:01
Julian Nicholls25-May-10 5:01 
GeneralHi. Pin
vinay_K8-Sep-08 0:05
vinay_K8-Sep-08 0:05 
GeneralWell, Pin
CPallini8-Sep-08 0:09
mveCPallini8-Sep-08 0:09 
GeneralRe: Well, Pin
vinay_K8-Sep-08 0:17
vinay_K8-Sep-08 0:17 
GeneralRe: Well, Pin
CPallini8-Sep-08 0:38
mveCPallini8-Sep-08 0:38 
GeneralRe: Well, Pin
leppie8-Sep-08 0:46
leppie8-Sep-08 0:46 
GeneralRe: Well, Pin
CPallini8-Sep-08 0:59
mveCPallini8-Sep-08 0:59 
GeneralRe: Well, Pin
Christian Graus8-Sep-08 1:16
protectorChristian Graus8-Sep-08 1:16 
GeneralRe: Well, Pin
vinay_K8-Sep-08 1:51
vinay_K8-Sep-08 1:51 
GeneralRe: Well, Pin
Christian Graus8-Sep-08 5:43
protectorChristian Graus8-Sep-08 5:43 
GeneralRe: Well, Pin
vinay_K8-Sep-08 1:55
vinay_K8-Sep-08 1:55 

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.