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

 
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 
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,


Then C introduced the struct.

Then C++ decided struct should have methods, and called it a class and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.)

Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, the DataTable, DataView and DataSet, but those caused impedence mismatches so a new artifact was born, the ORM.

Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents.

And this is called progress.

Marc

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 
GeneralRe: A disturbing new trend? Pin
PhilLenoir4-Nov-14 2:57
professionalPhilLenoir4-Nov-14 2:57 
GeneralRe: A disturbing new trend? Pin
Dan Neely4-Nov-14 3:19
Dan Neely4-Nov-14 3:19 
GeneralRe: A disturbing new trend? Pin
PhilLenoir4-Nov-14 3:22
professionalPhilLenoir4-Nov-14 3:22 
GeneralRe: A disturbing new trend? Pin
Dan Neely4-Nov-14 3:34
Dan Neely4-Nov-14 3:34 
GeneralRe: A disturbing new trend? Pin
PhilLenoir4-Nov-14 3:35
professionalPhilLenoir4-Nov-14 3:35 
GeneralRe: A disturbing new trend? Pin
Garth J Lancaster3-Nov-14 14:25
professionalGarth J Lancaster3-Nov-14 14:25 
GeneralRe: A disturbing new trend? Pin
PhilLenoir4-Nov-14 2:55
professionalPhilLenoir4-Nov-14 2:55 
GeneralRe: A disturbing new trend? Pin
Garth J Lancaster4-Nov-14 13:22
professionalGarth J Lancaster4-Nov-14 13:22 
GeneralRe: A disturbing new trend? Pin
rnbergren4-Nov-14 3:16
rnbergren4-Nov-14 3:16 
GeneralRe: A disturbing new trend? Pin
Garth J Lancaster4-Nov-14 13:20
professionalGarth J Lancaster4-Nov-14 13:20 
GeneralRe: A disturbing new trend? Pin
BrainiacV5-Nov-14 6:15
BrainiacV5-Nov-14 6:15 

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.