Click here to Skip to main content
15,798,508 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: The changing landscape of OOP (from class to struct) Pin
haughtonomous3-Oct-23 22:40
haughtonomous3-Oct-23 22:40 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
John Chadwell27-Sep-23 5:40
John Chadwell27-Sep-23 5:40 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
raddevus27-Sep-23 9:54
mvaraddevus27-Sep-23 9:54 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
Choroid27-Sep-23 6:51
Choroid27-Sep-23 6:51 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
Leonardo Pessoa27-Sep-23 9:19
Leonardo Pessoa27-Sep-23 9:19 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
raddevus27-Sep-23 10:02
mvaraddevus27-Sep-23 10:02 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
Juan Pablo Reyes Altamirano27-Sep-23 9:31
Juan Pablo Reyes Altamirano27-Sep-23 9:31 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
raddevus27-Sep-23 10:08
mvaraddevus27-Sep-23 10:08 
I agree with your answer.

Here's a reply I said to someone else that is about developer discipline related to this topic:

from Quote:[^]
You have much experience also and most likely that means you have developer discipline (do things right the first time so you don't shoot yourself in the foot later).
Developer discipline doesn't seem like it is being taught in modern times -- probably influenced by dynamic languages like JavaScript which also encourage people to "type" code (not design it and write it).

So, for this modern world i believe the movement is to "put the discipline in the code" so those who come after are "forced" to use it the way we have designed it. In the past, we would've read the legacy code and kept the parts that seem right.


Just as you said,
Juan Pablo Reyes Altamirano wrote:
my first stance is that all newcomers must be educated (a little) and eventually they should learn to educate themselves (a lot).


Unfortunately, there seem to be people moving into Software Development that just think they can start typing and produce a program.
GeneralRe: The changing landscape of OOP (from class to struct) Pin
Nelek27-Sep-23 10:26
protectorNelek27-Sep-23 10:26 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
ChristianLavigne29-Sep-23 3:33
professionalChristianLavigne29-Sep-23 3:33 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
raddevus29-Sep-23 11:15
mvaraddevus29-Sep-23 11:15 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
PIEBALDconsult29-Sep-23 10:33
professionalPIEBALDconsult29-Sep-23 10:33 
GeneralRe: The changing landscape of OOP (from class to struct) Pin
honey the codewitch4-Oct-23 5:56
mvahoney the codewitch4-Oct-23 5:56 
RantThe Day I Learned to Deal With the BOM Pin
kmoorevs15-Sep-23 10:21
kmoorevs15-Sep-23 10:21 
GeneralRe: The Day I Learned to Hate the BOM Pin
trønderen15-Sep-23 10:53
trønderen15-Sep-23 10:53 
GeneralRe: The Day I Learned to Hate the BOM Pin
kmoorevs17-Sep-23 13:25
kmoorevs17-Sep-23 13:25 
GeneralRe: The Day I Learned to Hate the BOM Pin
PIEBALDconsult20-Sep-23 13:20
professionalPIEBALDconsult20-Sep-23 13:20 
GeneralRe: The Day I Learned to Deal With the BOM Pin
Richard MacCutchan17-Sep-23 23:03
mveRichard MacCutchan17-Sep-23 23:03 
GeneralRe: The Day I Learned to Deal With the BOM Pin
PIEBALDconsult20-Sep-23 13:18
professionalPIEBALDconsult20-Sep-23 13:18 
GeneralRe: The Day I Learned to Deal With the BOM Pin
honey the codewitch4-Oct-23 5:59
mvahoney the codewitch4-Oct-23 5:59 
Generaljsfiddle nightmare: Schrodinger's lost code Pin
raddevus4-Aug-23 5:45
mvaraddevus4-Aug-23 5:45 
GeneralRe: jsfiddle nightmare: Schrodinger's lost code Pin
Richard Deeming4-Aug-23 5:49
mveRichard Deeming4-Aug-23 5:49 
GeneralRe: jsfiddle nightmare: Schrodinger's lost code Pin
raddevus4-Aug-23 5:59
mvaraddevus4-Aug-23 5:59 
PraiseRe: jsfiddle nightmare: Schrodinger's lost code Pin
Slacker00729-Aug-23 7:43
professionalSlacker00729-Aug-23 7:43 
GeneralRe: jsfiddle nightmare: Schrodinger's lost code Pin
Gary R. Wheeler7-Sep-23 14:01
Gary R. Wheeler7-Sep-23 14:01 

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.