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

 
AnswerRe: What do you think of my small game made in Windows API RAW? Pin
H A Tanner18-Jun-11 9:50
H A Tanner18-Jun-11 9:50 
AnswerRe: What do you think of my small game made in Windows API RAW? PinPopular
RobCroll19-Jun-11 21:29
RobCroll19-Jun-11 21:29 
GeneralRe: What do you think of my small game made in Windows API RAW? Pin
Firo Atrum Ventus19-Jun-11 22:07
Firo Atrum Ventus19-Jun-11 22:07 
AnswerRe: What do you think of my small game made in Windows API RAW? Pin
Ravi Sant19-Jun-11 22:26
Ravi Sant19-Jun-11 22:26 
AnswerRe: What do you think of my small game made in Windows API RAW? Pin
0bx20-Jun-11 0:11
0bx20-Jun-11 0:11 
AnswerRe: What do you think of my small game made in Windows API RAW? Pin
Pete O'Hanlon20-Jun-11 0:53
mvePete O'Hanlon20-Jun-11 0:53 
QuestionRe: What do you think of my small game made in Windows API RAW? Pin
Dimitrios Kalemis22-Jun-11 3:10
Dimitrios Kalemis22-Jun-11 3:10 
AnswerRe: What do you think of my small game made in Windows API RAW? Pin
Mark Bunds4-Aug-11 10:46
Mark Bunds4-Aug-11 10:46 
What you have done here is what I used to call "brute-force" programming, since it was easier for me to begin with a "hard map" of repetitive data that I could use to hammer out working code, however inelegant. Later, I would identify the patterns, and commit the raw data statements to configurable loops which I would then integrate with the rest of my spaghetti.
It took YEARS for me to learn to plan ahead, and when I least expected it, here comes OOP, Abstraction, Polymorphism, Inheritance, and all that that implies...So back to square one, and I found myself forced to embrace the Evil that is Microsoft.
Your little program is FAR ahead of what I was doing at your age, because the tools you are using simply didn't exist back then. Graphics? We didn't need no stinkin' graphics!!! We had 6x9 hardware-generated character sets, all upper case, 40 columns, and two damn lines, if we were lucky. Ever tried to play Donky Kong on a line-printer?
So forgive the harsh criticism doled out by some of these coders, keeping in mind that these forums host some of the best and most experienced software engineers on the planet, and that as a general rule engineers are not commonly known for their tact, social skills, or personal hygiene.
Add to that the fact that many of these people make their living undoing the nightmares passed down to them from, shall we say, "less than marginally competent" programmers, and you can understand why some of them might seem unkind.
Just listen to them, and avoid doing things that will get you banned, and before you know it your programming skills will increase exponentially, earning you a coveted spot where you can expect to receive unkind criticism for even the most brilliant code.
They are, at least, responding with suggestions; in my opinion it is far worse to have your posts go entirely ignored. As long as you keep learning, refusing to be discouraged, and are capable of grasping the abstractions involved in advanced coding, while being able to tell the difference between unexpected behavior caused by your code vs. unexpected behavior induced by Microsoft bugs, YOUR generation will construct the applications that MY generation NEVER dreamed possible.
GeneralNot a big one but... Pin
venomation16-Jun-11 9:32
venomation16-Jun-11 9:32 
GeneralRe: Not a big one but... Pin
andyharglesis17-Jun-11 21:01
andyharglesis17-Jun-11 21:01 
GeneralRe: Not a big one but... PinPopular
soap brain17-Jun-11 23:10
soap brain17-Jun-11 23:10 
GeneralRe: Not a big one but... PinPopular
Firo Atrum Ventus19-Jun-11 15:22
Firo Atrum Ventus19-Jun-11 15:22 
JokeRe: Not a big one but... Pin
Ra-one19-Jun-11 20:04
Ra-one19-Jun-11 20:04 
GeneralRe: Not a big one but... Pin
Philippe Mori21-Jun-11 14:49
Philippe Mori21-Jun-11 14:49 
GeneralJust wondering... Pin
VOT Productions14-Jun-11 8:46
VOT Productions14-Jun-11 8:46 
GeneralRe: Just wondering... Pin
djdanlib14-Jun-11 9:34
djdanlib14-Jun-11 9:34 
GeneralRe: Just wondering... Pin
VOT Productions14-Jun-11 10:03
VOT Productions14-Jun-11 10:03 
GeneralRe: Just wondering... Pin
TorstenH.14-Jun-11 20:34
TorstenH.14-Jun-11 20:34 
GeneralAnother coding horror PinPopular
Ra-one12-Jun-11 23:08
Ra-one12-Jun-11 23:08 
QuestionRe: Another coding horror Pin
Lutosław12-Jun-11 23:24
Lutosław12-Jun-11 23:24 
AnswerRe: Another coding horror Pin
Ra-one13-Jun-11 0:28
Ra-one13-Jun-11 0:28 
AnswerRe: Another coding horror Pin
Dalek Dave13-Jun-11 11:27
professionalDalek Dave13-Jun-11 11:27 
GeneralRe: Another coding horror Pin
BobJanova12-Jun-11 23:48
BobJanova12-Jun-11 23:48 
GeneralRe: Another coding horror Pin
Ra-one13-Jun-11 0:28
Ra-one13-Jun-11 0:28 
GeneralRe: Another coding horror PinPopular
Johann Gerell13-Jun-11 21:04
Johann Gerell13-Jun-11 21:04 

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.