12,532 reputation
1636
bio website
location Brno, Czech Republic
age
visits member for 2 years, 7 months
seen 12 hours ago

1d
awarded  Nice Answer
1d
answered What's the best way to avoid catastrophe caused by negligence?
Jan
26
comment Does functional programming increase the 'representational gap' between problems and solutions?
Actually, Visitor Pattern (in OOP) gives you same power as you said for FP. It allows you to add new operations while making adding new classes harder. I wonder if you can do same in FP (eg. adding new formats instead of operations).
Jan
22
comment What type of neural network is suitable for simulating brain of virtual organism?
Simulation of neural networks of real brains is extremely broad field of study. Nothing that can be answered using A&Q format.
Jan
9
comment Service layer - fat service classes?
"Job offer is related to many many things" Maybe there should be different types of Job Offers. Or maybe the Job Offer can be divided into different components. And why do you have service class, when methods related to JobOffer entity should be inside JobOffer class?
Jan
7
comment Using struct to enforce validation of built-in type
@gmoody1979 Structures are compared using Equals on every field by default. Shouldn't be a problem with strings. Same with GetHashCode. As for the structure being subset of string. I like to think of the type as safety net. I don't want to work with ValidatedName and then accidentally slip to use string. I would prefer if compiler made me explicitly specify that I now want to work with unchecked data.
Jan
7
answered Using struct to enforce validation of built-in type
Dec
26
revised When I should add another non-static class?
added 1423 characters in body
Dec
25
comment When I should add another non-static class?
@Telastyn Well. I should have said pure functional programming. closures=classes, so I consider OOP and mutable functional as same thing. I wonder how would you use monads to emulate mutable strategy for example.
Dec
25
answered When I should add another non-static class?
Dec
25
comment When I should add another non-static class?
I highly disagree that many OO design patterns don't contain mutable state. I believe having mutable state in strategy or visitor is what diferentiates OOP from functional programming.
Dec
23
answered Is there a stronger stress on management than on technical education in recent years?
Dec
22
comment why “new” keyword is not contextual keyword?
So it is var or new? You seem confused.
Dec
19
answered What's good about statement coverage?
Dec
18
comment Does non-virtual-by-default lead us to composition-over-inheritance?
@Craig I said that NOT allowing every method to be overridden by default is defensive. "Explicit virtual" means virtual methods have to be explicitly defined. I agree with what you said.
Dec
16
answered C# static practices coming from dynamic background
Dec
15
comment Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?
Maybe asking at crypto.stackexchange.com would be better idea?
Dec
15
comment How does one enforce the implementation of a static method?
I think your problems began when you started using generics. Try redesigning your application so you don't have any TChildren. Also, assuming you are using EF, I would be really worried about performance of those kind of queries.
Dec
13
answered What is meant by “redundant, but not duplicative” in the Steelman language requirements?
Dec
13
answered What is a relation between Dependency Injection, single instance, and singletons?