Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 15464

A methodology that enables a system to be modeled as a set of objects that can be controlled and manipulated in a modular manner

1
vote
Without going too much into detail regarding to your specific scenario, here are a couple of guidelines when structuring classes. Usually your file structure should follow the namespaces of your cla …
answered Nov 29 '12 by Steven Jeuris
3
votes
To which extent should objects be loosely coupled? If object A needs info from object B, how is it supposed to get this without losing too much cohesion? Coupling and cohesion is an important …
answered Nov 26 '11 by Steven Jeuris
3
votes
Neglecting the fact this is a design problem, as has been mentioned in the other answers, there is a way to somewhat improve that code in C# when you can't add the method yourself. This is especially …
answered Jan 18 '12 by Steven Jeuris
1
vote
How long would implementing the entire interface take you? If it would take you a considerable amount of time this indicates a design issue, and I would advise you (as Steven A. did before me) to con …
answered Jun 1 '11 by Steven Jeuris
6
votes
5answers
Just as many people believe tenaciously in small functions, some people believe lambdas should only contain small code fragments. An often overlooked advantage of lambdas however, is using them you c …
asked Jun 5 '11 by Steven Jeuris
2
votes
Besides my more elaborate, personalized other answer, I feel the following observation deserves a separate answer. There are indications that you might be following the Poltergeists anti-pattern. …
answered Nov 8 '12 by Steven Jeuris
7
votes
So ... I've been doing a little research. What follows is a little history lesson for those interested. :) Skip to the conclusion at the bottom if you're only interested in the answer. 1967: SIMULA …
answered Feb 15 '11 by Steven Jeuris
14
votes
3answers
While discussing a question about virtual functions on Stack Overflow, I wondered whether there was any official naming for pure (abstract) and non-pure virtual functions. I always relied on wikipedi …
asked Feb 9 '11 by Steven Jeuris
1
vote
It can be done in C# as well, and possibly other languages which support lambdas! Although the following is still pretty experimental, it works. Test instance1 = new Test(); Test instance2 = new Test …
answered Jun 7 '11 by Steven Jeuris
2
votes
4answers
In OOP, static scope means the scope is linked to the class, and instance scope is linked to a specific instance of the class. Some languages support static locals, which allow a value to be retained …
asked Jun 7 '11 by Steven Jeuris
3
votes
In C# 7.0, local functions will be introduced which achieve the same as I outlined in the question, but with a much improved syntax. Sometimes a helper function only makes sense inside of a single …
answered Aug 31 '16 by Steven Jeuris
8
votes
From a SOLID principles perspective jgauffin's answer makes sense. However, you shouldn't forget about the general design principles e.g. information hiding. I see several problems with the given app …
answered Nov 8 '12 by Steven Jeuris