Click here to Skip to main content
15,442,639 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: Code Reviews Pin
Martin ISDN12-Aug-20 23:40
MemberMartin ISDN12-Aug-20 23:40 
GeneralRe: Code Reviews Pin
Davyd McColl13-Aug-20 0:31
MemberDavyd McColl13-Aug-20 0:31 
GeneralRe: Code Reviews Pin
Stefan_Lang13-Aug-20 21:23
mveStefan_Lang13-Aug-20 21:23 
GeneralRe: Code Reviews Pin
Matt Bond13-Aug-20 1:52
MemberMatt Bond13-Aug-20 1:52 
GeneralRe: Code Reviews Pin
Stuart Dootson13-Aug-20 2:06
professionalStuart Dootson13-Aug-20 2:06 
GeneralRe: Code Reviews Pin
loctrice13-Aug-20 3:32
professionalloctrice13-Aug-20 3:32 
GeneralRe: Code Reviews Pin
hpcoder213-Aug-20 13:43
Memberhpcoder213-Aug-20 13:43 
GeneralGrowth by shrinkage? Pin
Sander Rossel12-Aug-20 0:11
professionalSander Rossel12-Aug-20 0:11 
This week I've had the pleasure to work on an application I wrote three years ago.
Today I'm working on an application I started three months ago.

The recent application has a few less layers of, well, overhead.
I've gone from business and data layers to validations and (Entity Framework Core) database code straight in my controllers.
There's little to no reuse between the code anyway.

Then the database.
I've gone from hardcore "normalize ALL the things!" to "I need to save this redundantly anyway."
The redundant storage is mostly for reporting and historical accuracy (for example, save a name in a record as it is now, not relying on the name in a related record as that might change over time).

It feels like I've been studying all these best practices for years, but in the end only one practice really reigns supreme: YAGNI[^].
Don't get me wrong, I think you need to know the best practices before you have the right to ignore them, it should be a choice, not ignorance.
Kind of like not knowing the law is not an excuse to break it.

Is this what they call "experience"?
It certainly makes coding a lot easier Big Grin | :-D

This message was brought to you by Not-Working-In-A-Team, LLC.

GeneralRe: Growth by shrinkage? Pin
Sandeep Mewara12-Aug-20 0:37
mveSandeep Mewara12-Aug-20 0:37 
GeneralRe: Growth by shrinkage? Pin
musefan12-Aug-20 0:38
Membermusefan12-Aug-20 0:38 
GeneralRe: Growth by shrinkage? Pin
GenJerDan12-Aug-20 0:44
MemberGenJerDan12-Aug-20 0:44 
GeneralRe: Growth by shrinkage? Pin
W Balboos, GHB12-Aug-20 0:52
mveW Balboos, GHB12-Aug-20 0:52 
GeneralRe: Growth by shrinkage? Pin
Nelek12-Aug-20 2:57
protectorNelek12-Aug-20 2:57 
GeneralRe: Growth by shrinkage? Pin
kmoorevs12-Aug-20 4:39
Memberkmoorevs12-Aug-20 4:39 
GeneralRe: Growth by shrinkage? Pin
CodeWraith12-Aug-20 0:57
MemberCodeWraith12-Aug-20 0:57 
GeneralRe: Growth by shrinkage? Pin
Jörgen Andersson12-Aug-20 1:27
professionalJörgen Andersson12-Aug-20 1:27 
GeneralRe: Growth by shrinkage? Pin
Sander Rossel12-Aug-20 2:14
professionalSander Rossel12-Aug-20 2:14 
GeneralRe: Growth by shrinkage? Pin
Jörgen Andersson12-Aug-20 2:16
professionalJörgen Andersson12-Aug-20 2:16 
GeneralRe: Growth by shrinkage? Pin
theoldfool12-Aug-20 1:58
professionaltheoldfool12-Aug-20 1:58 
GeneralRe: Growth by shrinkage? Pin
Sander Rossel12-Aug-20 1:59
professionalSander Rossel12-Aug-20 1:59 
GeneralRe: Growth by shrinkage? Pin
Nelek12-Aug-20 2:58
protectorNelek12-Aug-20 2:58 
GeneralRe: Growth by shrinkage? Pin
theoldfool12-Aug-20 3:02
professionaltheoldfool12-Aug-20 3:02 
GeneralRe: Growth by shrinkage? Pin
enhzflep13-Aug-20 2:24
Memberenhzflep13-Aug-20 2:24 
GeneralRe: Growth by shrinkage? Pin
dandy7212-Aug-20 4:32
Memberdandy7212-Aug-20 4:32 
GeneralRe: Growth by shrinkage? Pin
theoldfool12-Aug-20 4:42
professionaltheoldfool12-Aug-20 4:42 

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.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   142 votes