Click here to Skip to main content
15,891,136 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: We need more ITT Tech programmers Pin
J4amieC5-Aug-08 22:48
J4amieC5-Aug-08 22:48 
GeneralRe: We need more ITT Tech programmers Pin
Dan Neely6-Aug-08 2:17
Dan Neely6-Aug-08 2:17 
GeneralRe: We need more ITT Tech programmers Pin
J4amieC6-Aug-08 2:25
J4amieC6-Aug-08 2:25 
GeneralRe: We need more ITT Tech programmers Pin
PIEBALDconsult6-Aug-08 5:06
mvePIEBALDconsult6-Aug-08 5:06 
GeneralRe: We need more ITT Tech programmers Pin
gongchengshi6-Aug-08 6:03
gongchengshi6-Aug-08 6:03 
GeneralRe: We need more ITT Tech programmers Pin
Dan Neely6-Aug-08 6:44
Dan Neely6-Aug-08 6:44 
JokeRe: We need more ITT Tech programmers Pin
Robert Royall6-Aug-08 9:43
Robert Royall6-Aug-08 9:43 
GeneralRe: We need more ITT Tech programmers Pin
Jörgen Sigvardsson7-Aug-08 3:20
Jörgen Sigvardsson7-Aug-08 3:20 
maizhiming wrote:
There isn't a single pass by reference in the entire application. It is all pointers.


This one I don't get. The only thing references give you, is a nicer syntax for objects of classes with overloaded operators. A reference is just a shorthand notation for *ptr. And by the sound of it, it sounds like the code is based off of some legacy C code.


maizhiming wrote:
catch(...)


Now that one's just plain horrible. That one will catch anything. Stuff that ought to be handled by Dr Watson, or at the very least terminate the program in some graceful way.


maizhiming wrote:
Oddly enough, he wasn't let go for incompetence.


Have you worked long where you work now? Maybe you should take a long hard look at the time ahead of you before the probation time is over (assuming you have a probation period of your employment). Maybe they (your boss(es)) couldn't see his incompetence because of their own?

--
Kein Mitleid Für Die Mehrheit

GeneralRe: We need more ITT Tech programmers Pin
AeonBlue7-Aug-08 4:39
AeonBlue7-Aug-08 4:39 
GeneralRe: We need more ITT Tech programmers Pin
MidwestLimey7-Aug-08 5:13
professionalMidwestLimey7-Aug-08 5:13 
GeneralRe: We need more ITT Tech programmers Pin
StevenWalsh7-Aug-08 16:40
StevenWalsh7-Aug-08 16:40 
GeneralRe: We need more ITT Tech programmers Pin
gongchengshi7-Aug-08 17:05
gongchengshi7-Aug-08 17:05 
GeneralRe: We need more ITT Tech programmers Pin
Dan Neely8-Aug-08 2:06
Dan Neely8-Aug-08 2:06 
GeneralRe: We need more ITT Tech programmers Pin
Jonathan C Dickinson9-Aug-08 2:53
Jonathan C Dickinson9-Aug-08 2:53 
GeneralRe: We need more ITT Tech programmers Pin
megaadam10-Aug-08 22:06
professionalmegaadam10-Aug-08 22:06 
GeneralRe: We need more ITT Tech programmers Pin
Jamie Nordmeyer11-Aug-08 10:24
Jamie Nordmeyer11-Aug-08 10:24 
GeneralRe: We need more ITT Tech programmers Pin
ToddHileHoffer14-Aug-08 7:17
ToddHileHoffer14-Aug-08 7:17 
GeneralRe: We need more ITT Tech programmers Pin
BillW333-Sep-08 9:52
professionalBillW333-Sep-08 9:52 
General4096 Columns should be enough for anyone. PinPopular
Brady Kelly23-Jul-08 6:38
Brady Kelly23-Jul-08 6:38 
GeneralRe: 4096 Columns should be enough for anyone. Pin
Paul Conrad23-Jul-08 18:34
professionalPaul Conrad23-Jul-08 18:34 
GeneralRe: 4096 Columns should be enough for anyone. Pin
Simon P Stevens29-Jul-08 22:39
Simon P Stevens29-Jul-08 22:39 
GeneralRe: 4096 Columns should be enough for anyone. Pin
Paul Conrad30-Jul-08 6:04
professionalPaul Conrad30-Jul-08 6:04 
GeneralRe: 4096 Columns should be enough for anyone. Pin
darkelv23-Jul-08 19:35
darkelv23-Jul-08 19:35 
GeneralRe: 4096 Columns should be enough for anyone. Pin
CPallini24-Jul-08 1:40
mveCPallini24-Jul-08 1:40 
GeneralRe: 4096 Columns should be enough for anyone. Pin
User 665824-Jul-08 7:48
User 665824-Jul-08 7:48 

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.