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

 
GeneralLocality of Behavior: term you've been looking for Pin
raddevus9-Apr-24 4:06
mvaraddevus9-Apr-24 4:06 
GeneralRe: Locality of Behavior: term you've been looking for Pin
Greg Utas9-Apr-24 5:04
professionalGreg Utas9-Apr-24 5:04 
GeneralRe: Locality of Behavior: term you've been looking for Pin
raddevus9-Apr-24 5:12
mvaraddevus9-Apr-24 5:12 
GeneralRe: Locality of Behavior: term you've been looking for Pin
Greg Utas9-Apr-24 5:18
professionalGreg Utas9-Apr-24 5:18 
GeneralRe: Locality of Behavior: term you've been looking for Pin
jochance9-Apr-24 9:10
jochance9-Apr-24 9:10 
GeneralRe: Locality of Behavior: term you've been looking for Pin
raddevus9-Apr-24 9:37
mvaraddevus9-Apr-24 9:37 
GeneralRe: Locality of Behavior: term you've been looking for Pin
Sander Rossel9-Apr-24 23:24
professionalSander Rossel9-Apr-24 23:24 
GeneralRe: Locality of Behavior: term you've been looking for Pin
raddevus10-Apr-24 1:59
mvaraddevus10-Apr-24 1:59 
Sander Rossel wrote:
I think you're taking "locality of behaviour" a little too literal.

Yes, I was thinking that all code should just be in one file. Laugh | :laugh: I think you were taking what I said too literal. Roll eyes | :rolleyes:

No, I'm just experiencing code where there are Interfaces for every class in the system.
Have you ever looked at code where there is literally an Interface for everything?
Sander Rossel wrote:
don't think of "locality of code" as "code has to be local", but "code has to be as local as possible", which is not the same Smile | :)
The author mentions it too, saying it's often a trade-off

Yep, balance. That's what I'm looking for.
However, much code is often extreme one way or the other and I'd often heard of reasons to break code apart, use patterns, design to Interfaces,
but never heard Locality of Behavior mentioned.
Which seemed unbalanced.

modified 10-Apr-24 9:06am.

GeneralRe: Locality of Behavior: term you've been looking for Pin
jschell10-Apr-24 12:07
jschell10-Apr-24 12:07 
GeneralQuestion about english Pin
Nelek9-Apr-24 1:00
protectorNelek9-Apr-24 1:00 
GeneralRe: Question about english Pin
Jo_vb.net9-Apr-24 1:30
mvaJo_vb.net9-Apr-24 1:30 
GeneralRe: Question about english Pin
Nelek9-Apr-24 2:32
protectorNelek9-Apr-24 2:32 
GeneralRe: Question about english Pin
GKP19929-Apr-24 2:09
professionalGKP19929-Apr-24 2:09 
GeneralRe: Question about english Pin
Nelek9-Apr-24 2:32
protectorNelek9-Apr-24 2:32 
GeneralRe: Question about english Pin
GKP19929-Apr-24 3:02
professionalGKP19929-Apr-24 3:02 
GeneralRe: Question about english Pin
Nelek9-Apr-24 5:30
protectorNelek9-Apr-24 5:30 
GeneralRe: Question about english Pin
RickZeeland9-Apr-24 2:29
mveRickZeeland9-Apr-24 2:29 
GeneralRe: Question about english Pin
Nelek9-Apr-24 2:32
protectorNelek9-Apr-24 2:32 
GeneralRe: Question about english Pin
Amarnath S9-Apr-24 2:41
professionalAmarnath S9-Apr-24 2:41 
GeneralRe: Question about english Pin
Nelek9-Apr-24 5:33
protectorNelek9-Apr-24 5:33 
GeneralRe: Question about english Pin
Amarnath S9-Apr-24 6:25
professionalAmarnath S9-Apr-24 6:25 
GeneralRe: Question about english Pin
peterkmx9-Apr-24 6:12
professionalpeterkmx9-Apr-24 6:12 
GeneralRe: Question about english Pin
Jeremy Falcon9-Apr-24 8:18
professionalJeremy Falcon9-Apr-24 8:18 
GeneralRe: Question about english Pin
jmaida9-Apr-24 13:09
jmaida9-Apr-24 13:09 
GeneralPositive Mental Attitude - that's the ticket! PinPopular
OriginalGriff8-Apr-24 23:44
mveOriginalGriff8-Apr-24 23:44 

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.