Click here to Skip to main content
15,881,898 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.

 
GeneralBurn Baby, Burn! PinPopular
Randor 18-Jul-18 14:43
professional Randor 18-Jul-18 14:43 
GeneralRe: Burn Baby, Burn! PinPopular
Abbas A. Ali19-Jul-18 21:52
professionalAbbas A. Ali19-Jul-18 21:52 
GeneralRe: Burn Baby, Burn! Pin
Bruce Patin20-Jul-18 3:32
Bruce Patin20-Jul-18 3:32 
GeneralRe: Burn Baby, Burn! Pin
SeattleC++20-Jul-18 8:01
SeattleC++20-Jul-18 8:01 
GeneralRe: Burn Baby, Burn! Pin
Steve Naidamast20-Jul-18 4:51
professionalSteve Naidamast20-Jul-18 4:51 
GeneralRe: Burn Baby, Burn! Pin
Abbas A. Ali20-Jul-18 6:02
professionalAbbas A. Ali20-Jul-18 6:02 
GeneralRe: Burn Baby, Burn! Pin
Slow Eddie20-Jul-18 14:34
professionalSlow Eddie20-Jul-18 14:34 
GeneralRe: Burn Baby, Burn! Pin
David A. Gray6-Oct-18 10:27
David A. Gray6-Oct-18 10:27 
Steve Naidamast wrote:
I would also add VB.NET to this list. It is as fast as C#, since it compiles to the CLR just like its more popular sibling. Having Java, C#, and VB.NET as options will fit all the personalities that tend to code all forms of business applications.


I went in the opposite direction. Starting with VB.NET, I quickly shifted to C# for two fundamental reasons.
  • Triple-slash comments on classes and their properties and methods that become IntelliSense help.
  • C# code looks more like the mathematical expressions that are its underpinnings.
  • Succinctness of expression that requires less typing to accomplish the same result. For example, IF Expression THEN becomes if ( expression ) {, while END IF becomes }. Likewise, the right bracket replaces the word NEXT in FOR and FOREACH loops, WEND in WHILE loops, etc.
Although I am a good touch typist, I am not as fast a typist as many of my colleagues; this is the result of a subtle birth defect that impedes my hand-eye coordination. Hence, accomplishing a test with fewer keystrokes is to my advantage.

My appreciation of the closer resemblance of C# source code to mathematical expressions may have its roots in the fact that my first programming language was FORTRAN.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 5:36
professionalMSBassSinger20-Jul-18 5:36 
GeneralRe: Burn Baby, Burn! Pin
Richard Deeming20-Jul-18 5:38
mveRichard Deeming20-Jul-18 5:38 
GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 6:28
professionalMSBassSinger20-Jul-18 6:28 
GeneralRe: Burn Baby, Burn! Pin
Richard Deeming20-Jul-18 6:52
mveRichard Deeming20-Jul-18 6:52 
GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 7:01
professionalMSBassSinger20-Jul-18 7:01 
GeneralRe: Burn Baby, Burn! Pin
Robert/Not The Pirate20-Jul-18 8:41
professionalRobert/Not The Pirate20-Jul-18 8:41 
GeneralRe: Burn Baby, Burn! Pin
Slow Eddie20-Jul-18 14:31
professionalSlow Eddie20-Jul-18 14:31 
GeneralRe: Burn Baby, Burn! Pin
David A. Gray6-Oct-18 10:56
David A. Gray6-Oct-18 10:56 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 0:24
André Pereira20-Jul-18 0:24 
PraiseRe: Burn Baby, Burn! Pin
Gary Wheeler20-Jul-18 1:44
Gary Wheeler20-Jul-18 1:44 
GeneralRe: Burn Baby, Burn! Pin
jeron120-Jul-18 6:06
jeron120-Jul-18 6:06 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 6:53
André Pereira20-Jul-18 6:53 
GeneralRe: Burn Baby, Burn! Pin
jeron120-Jul-18 7:23
jeron120-Jul-18 7:23 
GeneralRe: Burn Baby, Burn! Pin
Abbas A. Ali20-Jul-18 6:39
professionalAbbas A. Ali20-Jul-18 6:39 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 7:18
André Pereira20-Jul-18 7:18 
GeneralRe: Burn Baby, Burn! Pin
Abbas A. Ali20-Jul-18 8:06
professionalAbbas A. Ali20-Jul-18 8:06 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 8:34
André Pereira20-Jul-18 8:34 

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.