Reputation
6,774
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 21 30
Newest
 Nice Answer
Impact
~176k people reached

Jun
14
comment Messages from UI or from subs?
@JeffO: You can have validation in the UI, but that should only be in addition to (and probably is a subset of) the validation in the business/domain layer. Especially when you have a (multi-tier) client/server architecture. Any validation done in a client (to enhance the UI experience or avoid continual round-tripping to the server) cannot be relied on by the server.
Jun
7
comment Why was strict parsing not chosen for HTML?
@Brian: Robustness means you should not fall over when you receive crap. It does not mean you have to make sense of crap.
Jun
5
comment Is it bad programming practice to check if a class referenced by its interface is an instance of another class?
@MikeG Indeed. Asking the interface for a reference to for example ITargetable which would have that method (and any others to do with Targetable stuff) would be better.
Jun
5
comment Is it bad programming practice to check if a class referenced by its interface is an instance of another class?
@ftr A better way w/could be to put that extra method in a separate interface ITartgetable and ask the original interface reference whether it can return a reference to ITargetable.
Jun
4
comment How should I manage short-term user preferences, to simplify data cleanup?
+1 In your second option the "probably" is very important, unless you include "read" in "use" ... :)
Jun
4
comment Developing wheel reinventing tendencies into a skill as opposed to reluctantly learning wheel-finding skills?
Just one remark: Always use a library despite its inherently "more than you need" nature when the functionality it provides has little to do with your application's core functionality but more with the nuts and bolts of making that possible. You will never be able to achieve the same level "completeness" (in functions and in tested-ness) of the library in the time you are prepared to spend on non-core functionality... For example: I have written my own OPFs before. I would now never even consider not using a library or framework for that.
Jun
3
comment Creating a System Sequence Diagram from an [extended] use case
No problem. Everybody suffers from the expectation that others magically know what is on our screen, in our mind and we start talking/writing from that assumption. Goodness knows I have fallen into that trap often enough. :-D
Jun
3
comment Creating a System Sequence Diagram from an [extended] use case
Never assume an acronym will be understood. I know my fair share about use cases, mvc, design patterns and sequence diagrams, but it hadn't occurred to me that SSD would mean system sequence diagram. It simply isn't the first thing that comes into my mind when seeing the acronym. Making people work/think to understand your question simply may actually prevent you from getting the answer you seek. If you want people to help, make it as easy as possible for them to do so.
Jun
2
comment Which could be a good design pattern for complex numeric calculations between three or more different data models?
In that case the "Automate dependency tracking" series by Michael Perry may be of interest to you. He uses Java, but the principles should be applicable in C# as well.
Jun
2
comment Copyright notices: What if I change my surname? What if someone else has the exact same name?
@JohnR.Strohm: And another case where US litigation system has gone haywire and has lost its ability to protect and defend those in the right against those willing to abuse it for their own gain.
Jun
1
comment Copyright notices: What if I change my surname? What if someone else has the exact same name?
Voting to close, but with a suggestion: get a domain name. That will be unique. You don't need to add hosting etc. if you don't want to.
May
31
comment Looking for meaningful, strong argument in favor of antivirus software on development machines
@MarkAllen: Good idea.
May
31
comment Looking for meaningful, strong argument in favor of antivirus software on development machines
@DanNeely: Yep, the AV isn't the one that is fooled by changing the extension, the e-mail client is.
May
31
comment Looking for meaningful, strong argument in favor of antivirus software on development machines
@LorenPechtel: exactly
May
31
comment Looking for meaningful, strong argument in favor of antivirus software on development machines
@grasGendarme: It usually isn't the AV that disallows it, but the e-mail client. And the recommendation is questionable either. When you have gotten around the e-mail client, the AV kicks in as soon as you re-rename the file and try to do anything with it.
May
30
comment In API design, when to use/avoid ad hoc polymorphism?
I'd +10 this for a very thorough answer from which I learned a lot, but, as per SE rules, you'll have to settle for +1... :-)
May
24
comment Strengthening code with possibly useless exception handling
@DocBrown: which is exactly why you should never have been liberal in what you accept. Robustness doesn't mean that you need to accept everything thrown at you without complaint, just that you need to accept everything thrown at you without crashing.
May
23
comment What to do as a Dev when for years their team has lacked product innovation, not used project mgmt methodologies, and kept bad Software Dev practices?
@kami: unfortunately a well-known recipe for a downfall due to the "The Peter Principle: Why things always go wrong". Original book: The Peter Principle
May
21
comment What to do as a Dev when for years their team has lacked product innovation, not used project mgmt methodologies, and kept bad Software Dev practices?
@kami: Apart from: start compiling the figures and get them noticed by those that do care? No, not much if you restrict yourself to your role as a developer. If you want things to change, you'll have to step outside the boundaries of being a developer. Get your figures straight, present them to your manager first and only to those above/next to him/her when (s)he doesn't take action. Don't go over his/her head with your results before allowing him/her to shine with your work. It will go a long way towards achieving your desired results.
May
20
comment What to do as a Dev when for years their team has lacked product innovation, not used project mgmt methodologies, and kept bad Software Dev practices?
Is your manager a development manager or the product manager ie the one who decides on the priority of items to be developed based on the business value they represent?