Click here to Skip to main content
15,887,253 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: How to make thing more complicated for nothing... Pin
Maximilien2-Dec-23 13:34
Maximilien2-Dec-23 13:34 
GeneralRe: How to make thing more complicated for nothing... Pin
trønderen4-Dec-23 7:04
trønderen4-Dec-23 7:04 
GeneralRe: How to make thing more complicated for nothing... Pin
0x01AA6-Dec-23 15:00
mve0x01AA6-Dec-23 15:00 
GeneralRe: How to make thing more complicated for nothing... Pin
Ravi Bhavnani28-Dec-23 18:56
professionalRavi Bhavnani28-Dec-23 18:56 
GeneralRe: How to make thing more complicated for nothing... Pin
Maximilien29-Dec-23 12:17
Maximilien29-Dec-23 12:17 
GeneralRe: How to make thing more complicated for nothing... Pin
jschell1-Jan-24 2:43
jschell1-Jan-24 2:43 
GeneralRe: How to make thing more complicated for nothing... Pin
trønderen1-Jan-24 9:03
trønderen1-Jan-24 9:03 
GeneralRe: How to make thing more complicated for nothing... Pin
jschell2-Jan-24 6:12
jschell2-Jan-24 6:12 
trønderen wrote:
Some of them are really good


None of them can be that good by their very nature. They can only look for simple problems.

And that is only appropriate with a lot of junior programmers and with little, poor or non-existent code reviews.

Often the problems are stylistic in nature as well.

Complex real bugs originate from execution flow which static code checkers cannot detect at all.

trønderen wrote:
mechanisms for suppressing reports on each specific 'defect'.


However they are put in place in the context of process. So people fixate on the process and will not allow that. As I have encountered multiple times. They fixate on the idea that it is 'better' without understanding what is going on.

trønderen wrote:
down to simple lint,


I worked at hard core linux/unix C and C++ shops along with reading tech journals for years. And far as I recall no one ever considered lint to be a good idea.

trønderen wrote:
You get what you pay for.


It was a paid product.
GeneralRe: How to make thing more complicated for nothing... Pin
trønderen2-Jan-24 9:52
trønderen2-Jan-24 9:52 
GeneralRe: How to make thing more complicated for nothing... Pin
jschell3-Jan-24 4:41
jschell3-Jan-24 4:41 
GeneralRe: How to make thing more complicated for nothing... Pin
Greg Utas2-Jan-24 12:17
professionalGreg Utas2-Jan-24 12:17 
GeneralRe: How to make thing more complicated for nothing... Pin
jschell3-Jan-24 4:43
jschell3-Jan-24 4:43 
GeneralI heard you like code in your code Pin
honey the codewitch19-Nov-23 12:11
mvahoney the codewitch19-Nov-23 12:11 
GeneralRe: I heard you like code in your code Pin
Daniel Pfeffer19-Nov-23 23:26
professionalDaniel Pfeffer19-Nov-23 23:26 
GeneralRe: I heard you like code in your code Pin
honey the codewitch20-Nov-23 0:50
mvahoney the codewitch20-Nov-23 0:50 
GeneralRe: I heard you like code in your code Pin
jochance30-Nov-23 4:54
jochance30-Nov-23 4:54 
GeneralRe: I heard you like code in your code Pin
trønderen19-Nov-23 23:46
trønderen19-Nov-23 23:46 
GeneralRe: I heard you like code in your code Pin
englebart1-Dec-23 15:58
professionalenglebart1-Dec-23 15:58 
GeneralRe: I heard you like code in your code Pin
trønderen4-Dec-23 6:54
trønderen4-Dec-23 6:54 
JokeRe: I heard you like code in your code Pin
RainHat20-Nov-23 1:26
RainHat20-Nov-23 1:26 
GeneralRe: I heard you like code in your code Pin
den2k8820-Nov-23 2:43
professionalden2k8820-Nov-23 2:43 
GeneralRe: I heard you like code in your code Pin
Gary Wheeler30-Nov-23 1:33
Gary Wheeler30-Nov-23 1:33 
GeneralRe: I heard you like code in your code Pin
charlieg5-Jan-24 7:41
charlieg5-Jan-24 7:41 
GeneralRe: I heard you like code in your code Pin
honey the codewitch5-Jan-24 9:39
mvahoney the codewitch5-Jan-24 9:39 
GeneralRe: I heard you like code in your code Pin
honey the codewitch5-Jan-24 9:48
mvahoney the codewitch5-Jan-24 9: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.