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 5099

Questions about problem solving and planning for a solution through software design.

27
votes
You should follow both of them. The "Crash early"/fail early advice means that you should test your inputs for possible errors as soon as possible. For example, if your method accepts a size or count …
answered May 20 '14 by Bart van Ingen Schenau
1
vote
for users of MainClass the first design is the simplest design and the best of the two. However, it is possible to create a better design by decoupling MainClass and MiddleClass. MainClass only needs …
answered Dec 24 '14 by Bart van Ingen Schenau
1
vote
Your problem isn't so much that you need to support different firmware versions, but rather that all these firmware versions use slightly different protocols to communicate. If you have any influence …
answered Jun 28 '14 by Bart van Ingen Schenau
1
vote
If you are dealing with a protocol that is so badly designed that the header fields of the difference conceptual layers are all over the place, then you don't really have much of a choice and you just …
answered Jun 21 '13 by Bart van Ingen Schenau
1
vote
There are two jobs to be done Preparing personalized mails based on a template and data-set Sending a mail to a recipient. This asks for two services. Because it is very common to do both jobs one …
answered Feb 14 '13 by Bart van Ingen Schenau
4
votes
Even for a system that is not designed according to the OO paradigm, you can still use UML notation to document the system, possibly extended with some Data Flow Diagrams (as I can't immediately find …
answered Nov 18 '12 by Bart van Ingen Schenau
1
vote
There is no reason for the select function to know that the search function has used the number of travelers to filter the set of available routes. If the RequestedRoute class did not use the party s …
answered Oct 5 '18 by Bart van Ingen Schenau
1
vote
What happens when a new node comes online while all existing nodes are offline depends on the strategy that the designers of the p2p network have designed for setting up the initial network and discov …
answered May 27 by Bart van Ingen Schenau
0
votes
If the user is aware that these menu items are provided by multiple plug-ins, I would either give each plug-in a sub-menu to fill, or put separators in the menu to separate the entries of the differen …
answered Dec 31 '13 by Bart van Ingen Schenau
3
votes
As you are creating an app that faces the general public, it doesn't really matter how the contracts are stored internally and what access controls are used by those different systems. If the company …
answered Jan 27 '16 by Bart van Ingen Schenau
1
vote
To protect yourself against garbage input, you should validate the input as the user enters it. In the large majority of cases, your garbage input won't be as bad as "paoghsfodgvfnamox33" for a com-po …
answered Feb 12 '15 by Bart van Ingen Schenau
2
votes
Communicating errors is not part of the responsibility of a DTO, so adding a field to the DTO for that purpose should really be a last-resort option. The typical solutions for the problem where you r …
answered Oct 15 '14 by Bart van Ingen Schenau
3
votes
You started from the wrong idea that there is a one-to-one relation between controllers and models in MVC. There is no such requirement. In fact, an MVC controller should use as many classes from the …
answered Nov 11 '13 by Bart van Ingen Schenau
1
vote
The biggest flaw is that your enumerator is similar to the C++ concept of an iterator, but doesn't follow the interface for an iterator. This means that your enumerators can't be used in conjunction w …
answered Jul 20 '14 by Bart van Ingen Schenau
3
votes
more complex), I would design my 'unit of measure' system like this: A class unit containing a scaling factor, a string for the unit's textual representation and a reference that the unit scales to … considered an issue, I have not tried to make the design type-safe in that respect. It is possible to add a runtime check by verifying that two units refer to the same base unit. …
answered May 8 '13 by Bart van Ingen Schenau

15 30 50 per page