Click here to Skip to main content
15,887,746 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 4:07
mvahoney the codewitch14-Nov-20 4:07 
GeneralRe: The learning rush Pin
Sander Rossel14-Nov-20 5:10
professionalSander Rossel14-Nov-20 5:10 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 5:19
mvahoney the codewitch14-Nov-20 5:19 
GeneralRe: The learning rush Pin
Sander Rossel14-Nov-20 12:55
professionalSander Rossel14-Nov-20 12:55 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 13:05
mvahoney the codewitch14-Nov-20 13:05 
GeneralRe: The learning rush Pin
Sander Rossel14-Nov-20 13:42
professionalSander Rossel14-Nov-20 13:42 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 14:07
mvahoney the codewitch14-Nov-20 14:07 
GeneralRe: The learning rush Pin
Sander Rossel15-Nov-20 0:23
professionalSander Rossel15-Nov-20 0:23 
"We are what we repeatedly do. Excellence, then, is not an act, but a habit." - Not Aristotle, apparently

That only goes for my style though.
The actual program tends to change and I change my view of how I want my code to flow.
For example, a program I made three years ago still has the traditional three tier architecture.
It's completely over factored I think (now, it made sense three years ago).
I have one tier that gets entities from the database and puts it in domain classes (not entities, those are DB specific) and then the middle tier passes it on to the controller and the controller translates it to a view model.
The middle tier is completely empty most of the time and the domain classes don't do anything either.
It's just there because Dead | X|
To make things worse, since it's all pretty much the same code, I've created some generic base classes that create generic expression trees, so that my data layer can generically query any entity.
I may have gone a bit overboard on that one Laugh | :laugh:

My code from last year follows a simpler design, entities are translated directly into view models (and vice versa) and it all happens in the controller.
I still have some generic code, but not in my database code.
I prefer copy/paste and seemingly duplicity in the name of maintainability.
My past project has taught me that just because I have the technical know-how does not mean I have to use it Laugh | :laugh:
I've also been told ex-coworkers (especially the anti-learn) still struggle reading my code (so it's totally worth it!) Laugh | :laugh: Big Grin | :-D

The fun part is, that when you look at my naming conventions, member placement, project and class layout, etc. nothing has changed in those past few years Big Grin | :-D
honey the codewitch wrote:
unless i have to code against your work I don't care what it looks like. I hope *you* do though, if that makes sense.
I know what you mean.
I do care about what your code looks like.
I go to bed with it and I wake up with it.
Those darned braceless if-statements! Laugh | :laugh:
Or maybe that wasn't what you meant... Roll eyes | :rolleyes:

GeneralRe: The learning rush Pin
honey the codewitch15-Nov-20 0:32
mvahoney the codewitch15-Nov-20 0:32 
GeneralRe: The learning rush Pin
Sander Rossel15-Nov-20 0:45
professionalSander Rossel15-Nov-20 0:45 
GeneralRe: The learning rush Pin
Greg Utas15-Nov-20 1:42
professionalGreg Utas15-Nov-20 1:42 
GeneralRe: The learning rush Pin
Sander Rossel15-Nov-20 2:04
professionalSander Rossel15-Nov-20 2:04 
GeneralRe: The learning rush Pin
honey the codewitch15-Nov-20 3:40
mvahoney the codewitch15-Nov-20 3:40 
GeneralRe: The learning rush Pin
honey the codewitch15-Nov-20 3:32
mvahoney the codewitch15-Nov-20 3:32 
GeneralRe: The learning rush Pin
Nelek15-Nov-20 1:47
protectorNelek15-Nov-20 1:47 
GeneralRe: The learning rush Pin
honey the codewitch15-Nov-20 3:33
mvahoney the codewitch15-Nov-20 3:33 
GeneralRe: The learning rush Pin
Nelek15-Nov-20 5:25
protectorNelek15-Nov-20 5:25 
GeneralRe: The learning rush Pin
Pete Kelley17-Nov-20 2:19
Pete Kelley17-Nov-20 2:19 
GeneralRe: The learning rush Pin
Sander Rossel17-Nov-20 9:10
professionalSander Rossel17-Nov-20 9:10 
GeneralRe: The learning rush Pin
Member 1298255814-Nov-20 4:42
Member 1298255814-Nov-20 4:42 
GeneralRe: The learning rush Pin
Amarnath S14-Nov-20 4:50
professionalAmarnath S14-Nov-20 4:50 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 4:51
mvahoney the codewitch14-Nov-20 4:51 
GeneralRe: The learning rush Pin
Amarnath S14-Nov-20 4:52
professionalAmarnath S14-Nov-20 4:52 
GeneralRe: The learning rush Pin
honey the codewitch14-Nov-20 4:53
mvahoney the codewitch14-Nov-20 4:53 
GeneralRe: The learning rush Pin
Amarnath S14-Nov-20 4:56
professionalAmarnath S14-Nov-20 4:56 

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.