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

 
GeneralVB6: Graphics Pin
codemunkeh20-May-07 12:29
codemunkeh20-May-07 12:29 
GeneralRe: VB6: Graphics Pin
Pete O'Hanlon20-May-07 23:16
mvePete O'Hanlon20-May-07 23:16 
GeneralRe: VB6: Graphics Pin
Rage22-May-07 3:24
professionalRage22-May-07 3:24 
GeneralRe: VB6: Graphics Pin
codemunkeh22-May-07 4:01
codemunkeh22-May-07 4:01 
GeneralRe: VB6: Graphics [modified] Pin
CPallini24-May-07 3:15
mveCPallini24-May-07 3:15 
GeneralRe: VB6: Graphics Pin
maz233123-May-07 10:04
maz233123-May-07 10:04 
GeneralRe: VB6: Graphics Pin
KarstenK24-May-07 21:40
mveKarstenK24-May-07 21:40 
GeneralRe: VB6: Graphics Pin
John R. Shaw25-May-07 15:51
John R. Shaw25-May-07 15:51 
That is just the learning process. If we did not make mistakes then we would not learn anything or for that matter – get anything done.

Programmers point of view:
1) Think.
2) Write something based on ideas.
3) Note possible problems – Think.
4) Rewrite – based on what you learned.
5) Think – are you satisfied (learned enough).
6) Make notes – consider improvements.

Management point of view:
1) Think.
2) Write something based on ideas.
3) Does it work?
4) If yes! You are finished – because it works.
5) Stop thinking – for self preservation of sanity.
6) Recommendation – make personal notes – and go on to next subject.

Note: If you do not inform management until step 4 in “Programmers point of view" is complete then you will have a better (more reliable) product. But if you must show progress based on the “Management point of view” then expect to be cut off at the knees, and learn to live with it.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

GeneralDataBase Selects and other lovely things :) Pin
Luka Grabarevic18-May-07 3:14
Luka Grabarevic18-May-07 3:14 
GeneralRe: DataBase Selects and other lovely things :) Pin
PIEBALDconsult18-May-07 4:29
mvePIEBALDconsult18-May-07 4:29 
GeneralRe: DataBase Selects and other lovely things :) Pin
Nemanja Trifunovic18-May-07 7:12
Nemanja Trifunovic18-May-07 7:12 
GeneralRe: DataBase Selects and other lovely things :) Pin
Pualee18-May-07 9:30
Pualee18-May-07 9:30 
GeneralRe: DataBase Selects and other lovely things :) Pin
Andy Brummer18-May-07 10:04
sitebuilderAndy Brummer18-May-07 10:04 
GeneralRe: DataBase Selects and other lovely things :) Pin
Nemanja Trifunovic18-May-07 10:06
Nemanja Trifunovic18-May-07 10:06 
GeneralRe: DataBase Selects and other lovely things :) Pin
Pualee18-May-07 10:27
Pualee18-May-07 10:27 
GeneralRe: DataBase Selects and other lovely things :) Pin
Psycho-*Coder*-Extreme21-May-07 7:17
Psycho-*Coder*-Extreme21-May-07 7:17 
GeneralRe: DataBase Selects and other lovely things :) Pin
maz233123-May-07 10:08
maz233123-May-07 10:08 
Generalwhich one is faster and better coding Pin
Sylvester george18-May-07 1:26
Sylvester george18-May-07 1:26 
GeneralRe: which one is faster and better coding Pin
Maximilien18-May-07 1:48
Maximilien18-May-07 1:48 
GeneralRe: which one is faster and better coding Pin
Pete O'Hanlon18-May-07 1:59
mvePete O'Hanlon18-May-07 1:59 
GeneralRe: which one is faster and better coding Pin
Sylvester george18-May-07 2:06
Sylvester george18-May-07 2:06 
GeneralRe: which one is faster and better coding Pin
Brady Kelly18-May-07 4:00
Brady Kelly18-May-07 4:00 
GeneralRe: which one is faster and better coding Pin
Vasudevan Deepak Kumar23-May-07 2:33
Vasudevan Deepak Kumar23-May-07 2:33 
GeneralRe: which one is faster and better coding Pin
jonavi25-May-07 4:31
jonavi25-May-07 4:31 
GeneralRe: which one is faster and better coding Pin
davidnr30-May-07 3:14
davidnr30-May-07 3:14 

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.