The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
462 views

Is there a name to this coding practice shown in the example? [closed]

Take a timer in your hands, then have a look to the following code. What is it doing? foreach (var summaryOdd in odds) { var category = new PlacedCategory(); var eventId = ...
-1
votes
2answers
136 views

Java generalization

I have a question regarding generalization. I know when it is needed to be done, but is it worth having an extra class for 1 field? e.g.: StatisticsCustomer has fields: Customer customer and int ...
5
votes
3answers
373 views

Generalized VS Specialized technical solution; what to take into account?

We recently had a discussion in the office because of conflicting views between developers. One side (side S) argued technical solutions -generally- need to be a specific as possible, while the other ...
18
votes
5answers
691 views

Does unit testing lead to premature generalization (specifically in the context of C++)?

Preliminary notes I'll not go into the distinction of the different kinds of test there are, there are already a few questions on these sites regarding that. I'll take what's there and that says: ...