↧
Comment by Filip Milovanović on How to share transaction across multiple...
Give us some more info on the details of the problem domain. Other than "a course / a book / the internet says you're supposed to do it that way", what is the design reason for having these specific...
View ArticleComment by Filip Milovanović on "use auto" and "declare most abstract type",...
"I know I should declare most abstract type when possible" - that's taking the guideline too far. You shouldn't do that everywhere. Declare the most abstract type in places where you accept...
View ArticleComment by Filip Milovanović on Why is it called Data-Oriented Design?
I'm pretty sure that data-oriented design is what started out as the data-driven development movement, but when they realized that the DDD acronym was already taken (and widely understood to stand for...
View ArticleComment by Filip Milovanović on Java OOP problem
I'm guessing you misinterpreted some guideline somewhere about when to override equals(). It shouldn't matter that the object is mutable. The very fact that you're working with defensive copies means...
View ArticleComment by Filip Milovanović on How to Model Parent-Child relationships...
"Modeling them as aggregates would only lead to inconvenience for the users (i.e. concurrent access errors)" - that seems somewhat paradoxical as this is exactly the problem aggregates are supposed to...
View ArticleComment by Filip Milovanović on Java OOP problem
@Ray - note two things: (1) a mutable object can have immutable aspects to it (i.e. a subset of the fields that are immutable) - you can use those fields as a key to derive a hash from, and check...
View ArticleComment by Filip Milovanović on Why is ArrayList not a Stack
If you're designing a standard library for a language, you have to find a balance between the conceptual purity of types (including there the ease of proving/validating/testing their correctness), and...
View ArticleComment by Filip Milovanović on Implementing factory that return the correct...
If it's not a requirement, don't go through CreateBase. Now you basically have two distinct roots to your inheritance graph, so maybe it's better to think about the Base and the Interface types as two...
View ArticleComment by Filip Milovanović on Why did Python designers decide not to...
People have different philosophies on what a programming language should look like, and how one should express ideas in a language. E.g., there are people who love C++ and all the power and fine...
View ArticleComment by Filip Milovanović on How to handle data-intensive functionality of...
"But that would break DDD" - DDD (and rich domain models in general) do not require the actual means of doing something (the ultimate underlying implementation that gets the job done) to be fully...
View ArticleComment by Filip Milovanović on How to handle data-intensive functionality of...
"But that would break DDD" - DDD (and rich domain models in general) do not require the actual means of doing something (the ultimate underlying implementation that gets the job done) to be fully...
View ArticleComment by Filip Milovanović on Advanced Scenarios in Clean Architecture
@Pavel - CA talks primarily about high level principles of how you control dependencies between components, and the logical layering. How (or if) you break down that application into DLLs (or...
View ArticleComment by Filip Milovanović on Vanilla interface implementations. What...
"It may be "simple" today, not as simple tomorrow" - not if tomorrow you make a different class that possibly reuses the simple one internally (perhaps after it was suitably evolved to support that)....
View ArticleComment by Filip Milovanović on Help with optimizing virtual method
Is it possible to implement everything via map_range and remove map from the public interface? If that's feasible, then the problem goes away.
View ArticleComment by Filip Milovanović on What empirical evidence is there that the...
Depending on what you mean by this, this may not be a very controversial claim. E.g. this could just mean that, while technical details are important, what's more important is to nail down exactly what...
View Article
More Pages to Explore .....