Click here to Skip to main content
15,915,093 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: Who needs event handlers... Pin
Anton Afanasyev5-Oct-07 22:24
Anton Afanasyev5-Oct-07 22:24 
GeneralRe: Who needs event handlers... Pin
Mustafa Ismail Mustafa10-Oct-07 0:23
Mustafa Ismail Mustafa10-Oct-07 0:23 
GeneralNew basic syntax Pin
bigbrownbeaver5-Oct-07 1:56
bigbrownbeaver5-Oct-07 1:56 
GeneralRe: New basic syntax Pin
PIEBALDconsult5-Oct-07 4:42
mvePIEBALDconsult5-Oct-07 4:42 
GeneralRe: New basic syntax Pin
bigbrownbeaver5-Oct-07 5:05
bigbrownbeaver5-Oct-07 5:05 
GeneralRe: New basic syntax Pin
Luc Pattyn5-Oct-07 5:13
sitebuilderLuc Pattyn5-Oct-07 5:13 
GeneralWhy is my code so slow? Pin
Humble Programmer2-Oct-07 5:01
Humble Programmer2-Oct-07 5:01 
GeneralRe: Why is my code so slow? Pin
Albu Marius2-Oct-07 5:13
Albu Marius2-Oct-07 5:13 
GeneralRe: Why is my code so slow? Pin
jhwurmbach2-Oct-07 6:16
jhwurmbach2-Oct-07 6:16 
GeneralRe: Why is my code so slow? Pin
KarstenK3-Oct-07 20:55
mveKarstenK3-Oct-07 20:55 
GeneralRe: Why is my code so slow? Pin
M@dHatter6-Oct-07 3:55
M@dHatter6-Oct-07 3:55 
JokeRe: Why is my code so slow? Pin
Muammar©7-Oct-07 0:58
Muammar©7-Oct-07 0:58 
GeneralRe: Why is my code so slow? Pin
Dan Neely8-Oct-07 2:25
Dan Neely8-Oct-07 2:25 
GeneralRe: Why is my code so slow? Pin
Joe Programm3r25-Oct-07 6:28
Joe Programm3r25-Oct-07 6:28 
GeneralRe: Why is my code so slow? Pin
Muammar©25-Oct-07 9:29
Muammar©25-Oct-07 9:29 
GeneralGood thing we use a transaction... Pin
GibbleCH27-Sep-07 6:58
GibbleCH27-Sep-07 6:58 
JokeRe: Good thing we use a transaction... Pin
Chris Meech27-Sep-07 7:15
Chris Meech27-Sep-07 7:15 
GeneralRe: Good thing we use a transaction... Pin
Muammar©7-Oct-07 1:03
Muammar©7-Oct-07 1:03 
GeneralRe: Good thing we use a transaction... Pin
Pete O'Hanlon27-Sep-07 22:23
mvePete O'Hanlon27-Sep-07 22:23 
GeneralRe: Good thing we use a transaction... Pin
Xiangyang Liu 刘向阳28-Sep-07 2:58
Xiangyang Liu 刘向阳28-Sep-07 2:58 
GeneralRe: Good thing we use a transaction... Pin
PIEBALDconsult28-Sep-07 4:31
mvePIEBALDconsult28-Sep-07 4:31 
GeneralRe: Good thing we use a transaction... Pin
KarstenK1-Oct-07 2:07
mveKarstenK1-Oct-07 2:07 
GeneralCoding Horror of the Millennium in a banking application Pin
Vasudevan Deepak Kumar26-Sep-07 21:12
Vasudevan Deepak Kumar26-Sep-07 21:12 
Last Friday, I had to visit the bank to open a Term Deposit account. Just about a month back, I had requested the bank to update my communication preferences to the updated and corrected address. They confirmed but again ATM records showed the old address. They wanted one more application form towards that updation.


And for Term Deposit, again they retrieved and showed my old record. I just got irrititated and asked them about their 'sick' database system that really sucks or whether it was the nonchalant attitude of the hostile staff, they actually wanted to investigate into the issue.

The banking application seemed to have gleaming coding horrors.

1) There are two identifiers for a customer in thier system. Account Number and a CustomerID. For every relationship (Savings Account, Current Account, Term Deposit) that a customer opens, it actually copies and stores the data separately. Now, the teller has to update everything individually.

2) Give account number, it fetches from one table. Give CustomerID and the address is fetched from different table.

And given the number of customers in the bank, it means so much of data storage wasted besides the performance penalty on the system.

The software companies that take up banking projects which are interested in taking a fatty cheque home from the bank just raises the eyebrow whether they are really committed in giving a quality product? Mad | :mad: Mad | :mad:

Vasudevan Deepak Kumar
Personal Homepage
Tech Gossips

GeneralRe: Coding Horror of the Millennium in a banking application Pin
DavieL26-Sep-07 23:11
DavieL26-Sep-07 23:11 
GeneralRe: Coding Horror of the Millennium in a banking application Pin
Paddy Boyd26-Sep-07 23:53
Paddy Boyd26-Sep-07 23:53 

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.