Click here to Skip to main content
15,895,606 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: Legend with 0 Pin
Karen Mitchelle22-Jul-14 20:36
professionalKaren Mitchelle22-Jul-14 20:36 
GeneralRe: Legend with 0 PinPopular
OriginalGriff22-Jul-14 20:37
mveOriginalGriff22-Jul-14 20:37 
GeneralRe: Legend with 0 Pin
Sandeep Singh Shekhawat23-Jul-14 8:00
professionalSandeep Singh Shekhawat23-Jul-14 8:00 
GeneralRe: Legend with 0 Pin
OriginalGriff23-Jul-14 8:16
mveOriginalGriff23-Jul-14 8:16 
GeneralRe: Legend with 0 Pin
CBadger22-Jul-14 22:02
professionalCBadger22-Jul-14 22:02 
QuestionCode Survey Pin
Super Lloyd22-Jul-14 14:49
Super Lloyd22-Jul-14 14:49 
GeneralRe: Code Survey Pin
PIEBALDconsult22-Jul-14 17:11
mvePIEBALDconsult22-Jul-14 17:11 
AnswerRe: Code Survey Pin
_Maxxx_22-Jul-14 19:30
professional_Maxxx_22-Jul-14 19:30 
I always keep my UI layer and any DB layer separate - it is simpler to just ram code accessing the DB directly from a View, but so totally unmaintainable beyond trivial examples that I just don't do it. I also almost always have a 'service' layer which stitches the two together, rather than calling the Db later from the UI layer.


Other than that, I tend to be fairly flexible on layers depending on the project.

I agree about the over-complexity introduced sometimes - my logic is that a well written and modular project can be expanded into more abstract layers, should that be necessary, quite easily if it is easily maintainable and modular in the first place - and building abstraction on abstraction just because it makes some intrinsic sense to a developer, in my experience, slows development and can increase bugs as new developers don't understand how it hangs together - and nobody ever spends the time to train newbies!

Quote:
Super Lloyd wrote:
simplest / unobtrusive as possible shell / architecture to glue stuff together


That's the one that gets me most. When someone uses some framework or other (especially if they use something and then modify it, and don't document anything) I have often found that the use of the framework has been chosen without much knowledge - so the developers learn on the job, invent work-arounds, until the whole thing is a bit of a mess, nobody really understands how it is meant to work, and new devs coming into the project don't have a cat in hell's chance of being productive for weeks.

Still, I'm an old fart, so what do I know?
PooperPig - Coming Soon

AnswerRe: Code Survey Pin
V.22-Jul-14 20:04
professionalV.22-Jul-14 20:04 
AnswerRe: Code Survey Pin
Worried Brown Eyes22-Jul-14 21:14
Worried Brown Eyes22-Jul-14 21:14 
GeneralRe: Code Survey Pin
Super Lloyd22-Jul-14 22:28
Super Lloyd22-Jul-14 22:28 
GeneralRe: Code Survey Pin
Simon O'Riordan from UK22-Jul-14 23:35
Simon O'Riordan from UK22-Jul-14 23:35 
GeneralRe: Code Survey Pin
jschell23-Jul-14 11:11
jschell23-Jul-14 11:11 
GeneralRe: Code Survey Pin
Simon O'Riordan from UK23-Jul-14 20:58
Simon O'Riordan from UK23-Jul-14 20:58 
GeneralRe: Code Survey Pin
jschell24-Jul-14 11:20
jschell24-Jul-14 11:20 
GeneralRe: Code Survey Pin
Simon O'Riordan from UK27-Jul-14 23:04
Simon O'Riordan from UK27-Jul-14 23:04 
AnswerRe: Code Survey Pin
Duncan Edwards Jones23-Jul-14 3:10
professionalDuncan Edwards Jones23-Jul-14 3:10 
AnswerRe: Code Survey Pin
Joe Marchionna23-Jul-14 3:12
Joe Marchionna23-Jul-14 3:12 
AnswerRe: Code Survey Pin
patbob23-Jul-14 5:53
patbob23-Jul-14 5:53 
AnswerRe: Code Survey Pin
BobJanova23-Jul-14 6:28
BobJanova23-Jul-14 6:28 
AnswerRe: Code Survey Pin
jschell23-Jul-14 11:16
jschell23-Jul-14 11:16 
GeneralRe: Code Survey Pin
Super Lloyd23-Jul-14 13:31
Super Lloyd23-Jul-14 13:31 
AnswerRe: Code Survey Pin
Charles Ferguson23-Jul-14 13:25
Charles Ferguson23-Jul-14 13:25 
GeneralRe: Code Survey Pin
Super Lloyd23-Jul-14 13:32
Super Lloyd23-Jul-14 13:32 
GeneralRoles for the first ten employees of a high-tech start-up II Pin
BillWoodruff22-Jul-14 11:49
professionalBillWoodruff22-Jul-14 11:49 

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.