Click here to Skip to main content
15,887,453 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: What is next? Pin
Marc Clifton4-Nov-14 6:26
mvaMarc Clifton4-Nov-14 6:26 
GeneralRe: What is next? Pin
mikepwilson4-Nov-14 6:27
mikepwilson4-Nov-14 6:27 
GeneralRe: What is next? Pin
Vark1114-Nov-14 6:37
Vark1114-Nov-14 6:37 
GeneralRe: What is next? Pin
Dave Kreskowiak4-Nov-14 8:50
mveDave Kreskowiak4-Nov-14 8:50 
GeneralRe: What is next? Pin
mikepwilson4-Nov-14 6:25
mikepwilson4-Nov-14 6:25 
GeneralRe: What is next? Pin
PhilLenoir4-Nov-14 8:20
professionalPhilLenoir4-Nov-14 8:20 
GeneralRe: What is next? Pin
Bernhard Hiller4-Nov-14 20:54
Bernhard Hiller4-Nov-14 20:54 
GeneralRe: What is next? Pin
den2k884-Nov-14 21:04
professionalden2k884-Nov-14 21:04 
It's called Simulink but there are tons of others. It is a widely used paradigm in embedded designs that must be precisely documented AND thoroughly tested, as in ISO26262 for automotive applications for example.

It has some advantages:
+ The "code" is always documented because it doesn't exist - there is only the model and the model is self-explaining (almost).
+ The model is platform independent, it depends only on a formal description of the environment on which it will run and a set of standards as AutoSAR to be deployed.
+ It is usable by designers specialized in other fields, experts of the domain, keeping an underlying code widely tested and homogeneous, requiring little developer/sysadmin assistance.

The drawbacks of course are that someone still codes the model->code translator, set the standards, revise the standards, correct bigs which now can span on zillions of platforms. Also, if you look at the code produced you can see horrible things, as Discrete Integrations used in place of a simple counter and check and so on - if you need performances you are done for.
RantRe: What is next? Pin
Gary R. Wheeler8-Nov-14 1:26
Gary R. Wheeler8-Nov-14 1:26 
GeneralRe: What is next? Pin
_Maxxx_13-Nov-14 18:12
professional_Maxxx_13-Nov-14 18:12 
GeneralRe: What is next? Pin
PIEBALDconsult14-Nov-14 12:49
mvePIEBALDconsult14-Nov-14 12:49 
GeneralAnnouncing RemoteIE: Test the latest IE on Windows, Mac OS X, iOS and Android Pin
Simon O'Riordan from UK4-Nov-14 4:40
Simon O'Riordan from UK4-Nov-14 4:40 
GeneralRe: Announcing RemoteIE: Test the latest IE on Windows, Mac OS X, iOS and Android Pin
PIEBALDconsult4-Nov-14 7:40
mvePIEBALDconsult4-Nov-14 7:40 
GeneralRe: Announcing RemoteIE: Test the latest IE on Windows, Mac OS X, iOS and Android Pin
Simon O'Riordan from UK4-Nov-14 21:11
Simon O'Riordan from UK4-Nov-14 21:11 
GeneralA disturbing new trend? Pin
PIEBALDconsult3-Nov-14 9:33
mvePIEBALDconsult3-Nov-14 9:33 
GeneralRe: A disturbing new trend? Pin
ledtech33-Nov-14 10:04
ledtech33-Nov-14 10:04 
GeneralRe: A disturbing new trend? Pin
PIEBALDconsult3-Nov-14 10:13
mvePIEBALDconsult3-Nov-14 10:13 
GeneralRe: A disturbing new trend? Pin
Nagy Vilmos4-Nov-14 0:53
professionalNagy Vilmos4-Nov-14 0:53 
GeneralRe: A disturbing new trend? PinPopular
Marc Clifton3-Nov-14 10:44
mvaMarc Clifton3-Nov-14 10:44 
GeneralRe: A disturbing new trend? Pin
PIEBALDconsult3-Nov-14 10:51
mvePIEBALDconsult3-Nov-14 10:51 
GeneralRe: A disturbing new trend? Pin
PhilLenoir3-Nov-14 10:59
professionalPhilLenoir3-Nov-14 10:59 
GeneralRe: A disturbing new trend? Pin
PIEBALDconsult3-Nov-14 11:02
mvePIEBALDconsult3-Nov-14 11:02 
GeneralRe: A disturbing new trend? Pin
PhilLenoir3-Nov-14 11:03
professionalPhilLenoir3-Nov-14 11:03 
GeneralRe: A disturbing new trend? Pin
PhilLenoir3-Nov-14 11:12
professionalPhilLenoir3-Nov-14 11:12 
GeneralRe: A disturbing new trend? Pin
Dan Neely4-Nov-14 2:51
Dan Neely4-Nov-14 2:51 

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.