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

 
GeneralWho needs security through obscurity? Pin
PIEBALDconsult31-Oct-15 16:45
mvePIEBALDconsult31-Oct-15 16:45 
GeneralRe: Who needs security through obscurity? Pin
Nicolas Dorier31-Oct-15 19:20
professionalNicolas Dorier31-Oct-15 19:20 
GeneralRe: Who needs security through obscurity? Pin
Richard Deeming2-Nov-15 2:30
mveRichard Deeming2-Nov-15 2:30 
GeneralRe: Who needs security through obscurity? Pin
Eddy Vluggen2-Nov-15 2:48
professionalEddy Vluggen2-Nov-15 2:48 
GeneralRe: Who needs security through obscurity? Pin
Richard Deeming2-Nov-15 3:00
mveRichard Deeming2-Nov-15 3:00 
GeneralRe: Who needs security through obscurity? Pin
Eddy Vluggen2-Nov-15 3:27
professionalEddy Vluggen2-Nov-15 3:27 
GeneralRe: Who needs security through obscurity? Pin
Bernhard Hiller3-Nov-15 1:04
Bernhard Hiller3-Nov-15 1:04 
GeneralDon't know whether it's weird, or wonderful Pin
phil.o13-Oct-15 8:44
professionalphil.o13-Oct-15 8:44 
I just replaced
C#
Math.PI

with
C#
Trigo.π

Trigo being a static class and π a const double.

It works for ϕ (the Golden Number) also.
I tried that with also (the base of natural logarithms), but this is not a valid identifier character.
I never finish anyth

GeneralRe: Don't know whether it's weird, or wonderful Pin
Daniel Pfeffer15-Oct-15 0:27
professionalDaniel Pfeffer15-Oct-15 0:27 
GeneralRe: Don't know whether it's weird, or wonderful Pin
phil.o15-Oct-15 0:38
professionalphil.o15-Oct-15 0:38 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Daniel Pfeffer15-Oct-15 8:57
professionalDaniel Pfeffer15-Oct-15 8:57 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Kornfeld Eliyahu Peter15-Oct-15 11:53
professionalKornfeld Eliyahu Peter15-Oct-15 11:53 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Nicolas Dorier31-Oct-15 19:21
professionalNicolas Dorier31-Oct-15 19:21 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Dan Neely24-Feb-16 5:20
Dan Neely24-Feb-16 5:20 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Nguyen.H.H.Dang21-Aug-16 15:11
professionalNguyen.H.H.Dang21-Aug-16 15:11 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Dennis_E15-Oct-15 2:14
professionalDennis_E15-Oct-15 2:14 
GeneralRe: Don't know whether it's weird, or wonderful Pin
phil.o15-Oct-15 11:32
professionalphil.o15-Oct-15 11:32 
GeneralRe: Don't know whether it's weird, or wonderful Pin
PIEBALDconsult16-Oct-15 8:02
mvePIEBALDconsult16-Oct-15 8:02 
GeneralRe: Don't know whether it's weird, or wonderful Pin
phil.o16-Oct-15 8:15
professionalphil.o16-Oct-15 8:15 
GeneralC++ expression(s) Pin
C3D112-Oct-15 23:04
professionalC3D112-Oct-15 23:04 
GeneralRe: C++ expression(s) Pin
megaadam13-Oct-15 0:46
professionalmegaadam13-Oct-15 0:46 
GeneralRe: C++ expression(s) Pin
den2k8813-Oct-15 2:54
professionalden2k8813-Oct-15 2:54 
GeneralRe: C++ expression(s) PinPopular
Indivara13-Oct-15 3:52
professionalIndivara13-Oct-15 3:52 
GeneralRe: C++ expression(s) Pin
den2k8813-Oct-15 4:01
professionalden2k8813-Oct-15 4:01 
GeneralRe: C++ expression(s) Pin
Agent__00715-Oct-15 0:10
professionalAgent__00715-Oct-15 0:10 

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.