Click here to Skip to main content
16,013,548 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.

 
GeneralDB2 7.x OLEDB Managed Provider Bug Pin
Vasudevan Deepak Kumar14-Aug-07 4:36
Vasudevan Deepak Kumar14-Aug-07 4:36 
GeneralRe: DB2 7.x OLEDB Managed Provider Bug Pin
Mike Dimmick15-Aug-07 3:08
Mike Dimmick15-Aug-07 3:08 
GeneralRe: DB2 7.x OLEDB Managed Provider Bug Pin
Pete O'Hanlon15-Aug-07 10:21
mvePete O'Hanlon15-Aug-07 10:21 
GeneralRe: DB2 7.x OLEDB Managed Provider Bug Pin
Vasudevan Deepak Kumar16-Aug-07 20:54
Vasudevan Deepak Kumar16-Aug-07 20:54 
GeneralGOSUB .NET Pin
Zeeshan Ejaz Bhatti11-Aug-07 23:30
Zeeshan Ejaz Bhatti11-Aug-07 23:30 
GeneralRe: GOSUB .NET Pin
mav.northwind12-Aug-07 5:51
mav.northwind12-Aug-07 5:51 
GeneralRe: GOSUB .NET Pin
Paul Conrad12-Aug-07 6:29
professionalPaul Conrad12-Aug-07 6:29 
GeneralRe: GOSUB .NET Pin
Zeeshan Ejaz Bhatti12-Aug-07 9:13
Zeeshan Ejaz Bhatti12-Aug-07 9:13 
"whats with men and asking directions?" Finding Nemo..

I am to egoistic to ask for help Smile | :) .. i was just sharing one of my worst experiences.. besides how wud you refactor a recurrsion? specially when all the variables are just capital alphabets?

IF A>1E99 THEN GOSUB#0


HOW I MANAGED TO WORK AROUND
i executed the code on the calculator (Since i am not aware of any simulator for fx880p), used the STOP button on the calculator (since there are no breakpoints in fx880p) and drew a control flow diagram (estimated).. then i had to copy some lines of code into several sub procedures (cons of noodle programming) most of the times, plucking out independent section of LOCs into a sperate function was easy ... some times it was impossible .. i yet have to test the application but as the the saying goes

Testing can be used to prove the presence of errors in a software, but not to prove thier absence... (i think dijkstra said/implied it)


P.S. i used PRESENT TENSE bcz i was still working on the same project not bcz i am PRESENTLY TENSE (and thus need help).. Smile | :)

All Rights Reserved! All Wrongs Revenged!

GeneralRe: GOSUB .NET Pin
Paul Conrad12-Aug-07 9:28
professionalPaul Conrad12-Aug-07 9:28 
QuestionRe: GOSUB .NET Pin
megaadam13-Aug-07 23:27
professionalmegaadam13-Aug-07 23:27 
GeneralRe: GOSUB .NET Pin
#realJSOP17-Aug-07 8:21
professional#realJSOP17-Aug-07 8:21 
JokeRe: GOSUB .NET Pin
BadKarma17-Aug-07 22:18
BadKarma17-Aug-07 22:18 
GeneralRe: GOSUB .NET Pin
#realJSOP18-Aug-07 1:15
professional#realJSOP18-Aug-07 1:15 
JokeRe: GOSUB .NET Pin
Paul Conrad18-Aug-07 3:37
professionalPaul Conrad18-Aug-07 3:37 
GeneralRe: GOSUB .NET Pin
Pascal Ganaye20-Aug-07 3:21
Pascal Ganaye20-Aug-07 3:21 
GeneralRe: GOSUB .NET Pin
Lutosław20-Aug-07 7:45
Lutosław20-Aug-07 7:45 
GeneralVisual Basic 6: Public versus Private Function Pin
Nilesh Hapse8-Aug-07 19:24
Nilesh Hapse8-Aug-07 19:24 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Mike Dimmick8-Aug-07 21:19
Mike Dimmick8-Aug-07 21:19 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Nilesh Hapse8-Aug-07 21:33
Nilesh Hapse8-Aug-07 21:33 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Vasudevan Deepak Kumar17-Aug-07 23:29
Vasudevan Deepak Kumar17-Aug-07 23:29 
JokeRe: Visual Basic 6: Public versus Private Function Pin
Pete O'Hanlon8-Aug-07 21:48
mvePete O'Hanlon8-Aug-07 21:48 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Nilesh Hapse8-Aug-07 23:15
Nilesh Hapse8-Aug-07 23:15 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Pete O'Hanlon8-Aug-07 23:22
mvePete O'Hanlon8-Aug-07 23:22 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
Vasudevan Deepak Kumar17-Aug-07 23:30
Vasudevan Deepak Kumar17-Aug-07 23:30 
GeneralRe: Visual Basic 6: Public versus Private Function Pin
dojohansen20-Aug-07 1:13
dojohansen20-Aug-07 1:13 

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.