3,618 reputation
1819
bio website weblogs.asp.net/avnerk
location Israel
age
visits member for 1 year, 11 months
seen 10 hours ago

Tech-turtle, fond of C# and .NET but likes to venture out to forage elsewhere as well.


Jul
9
comment Best way to port Pascal persistence method to C#
You can even name your sqlite database files "data.bin" and no-one would be the wiser!
Jun
29
revised Using abstract methods to force subclasses to define values for member fields
Moved pattern-name to the top.
Jun
29
answered Using abstract methods to force subclasses to define values for member fields
Jun
29
reviewed Close Choosing a file format to storage a simple text data
Jun
29
reviewed Leave Open A practical use of “yield” keyword in C#
Jun
20
reviewed Close Video conferencing server architecture
Jun
20
reviewed Close Are asserts or unit tests more important?
Jun
20
reviewed Leave Open Mental Models or Real-World-Metaphors for Functional Programming
Jun
19
reviewed Close How to catch DllNotFoundException in C#?
Jun
19
reviewed Close Good practice on Visual Studio Solutions
Jun
19
reviewed Leave Open Good approach for hundreds of comsumers and big files
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
@Tony_Henrich But if you're allowing the caller to bypass the BO, aren't you potentially allowing business logic to be bypassed? The DTO has a Department property that should only be set in specific circumstances. That's the business logic. What happens when someone sets it in the DTO?
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
The OP asks about exposing his DTO as a property in his BO object, rather than exposing the properties individually.
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
@randomA In this case, why even expose the DTO?
Jun
15
comment Need to provide an interface (for plugins) for taking input Type A, and returning output Type B
Please summarize in a few lines what that link says and why it claims that is a bad idea. If the link changes or dies, your question will become impossible to understand.
Jun
15
answered How about using a DTO class as a property in the corresponding BO class?
May
21
comment Why does VBA / VBScript require “Set” prefix
While this is an interesting side effect of the Set semantics, it's not really an answer to the question.
May
19
answered Is it good style to store view data inside the model?
May
11
revised Is there a difference in the C++ language between Visual Studio and Code::Blocks?
Revised for readability.
May
1
comment Why don't more languages have the ability to compare a value to more than one other value?
+1, but I think the answer would be improved by showing one or two of those "existing range-based functions that practically every language [offers]", just so this alternative would be clearer.