6,531 reputation
32129
bio website softwareonastring.com
location Netherlands
age 52
visits member for 4 years, 2 months
seen 4 hours ago

Software developer since 1985. Started in Cobol, moved via Clipper/VB to Delphi. Delphi developer since 1998. Sniffing at C# and playing around with javascript and some php for websites. Coaching new employees and less experienced developers. Focused on software architecture and SOLID design. Keenly interested in user experience and usability.

Questions

When you ask a question, show your effort, provide all the details that will help someone to help you and be precise.

Answers

When you answer a question, don't just paste your code. Your answers will be much better when you explain why your code is doing what it does and how it achieves the asker's goal. It makes it a whole lot easier to follow along. As it is I am much more inclined to up-vote answers that have explanatory text about what the code is doing and why it is written as it is.

Answers that just contain links aren't likely to get an up-vote from me either

Other

Obligatory link whenever someone thinks they are improving security by imposing all sorts of rules on password composition: Password strength


Dec
15
comment Which are the fundamental stack manipulation operations?
Aren't some of the alternatives in your second list very dependent on the length of the stack? For example rot rot as an alternative for -rot? What happens when there are more than 3 items on the stack? Wouldn't you then have to rot as often as Length-1 times to achieve -rot?
Dec
14
comment Why does the Scrum guide say no testers?
I am a strong advocate for having person A test what person B developed. What does scrum have as advice to avoid the pitfalls of "own code blindness" (where if you are both developer and tester of feature X, you don't exercise the code in all respects because you know how it is coded and assume it must work, or subconsciously avoid the weaker points)?
Dec
13
comment Idea to develop a caching server between IIS and SQL Server
Your idea is solid enough. We actually already have this type of caching built into our query engine (in a sense we are our own database) and are moving it out of there into a REST server layer around it. This will enable us to move the caching out of the query service entirely, should we so want to.
Dec
9
comment Handle complexity in large software projects
Great answer! Bookmarked.
Dec
7
comment Looking for best practice for version numbering of dependent software components
Going back in version numbers based on stable/unstable? Confusing to say the least. Just have 1.4.0 as never released and release 1.5.3 as 1.6.0.
Dec
3
comment What are the advantages of the delegate pattern over the observer pattern?
@occulus: thanks for the clarification. Pity that languages can't agree on terminology... Talking about programming in a language agnostic way gets a bit hard when people understand different things for the same words.
Dec
2
revised What are the advantages of the delegate pattern over the observer pattern?
deleted 37 characters in body
Dec
2
comment What are the advantages of the delegate pattern over the observer pattern?
ok thanks, hope I can keep it straight ... :-) Took out the C# reference and focused more on the event mechanism.
Dec
2
comment What are the advantages of the delegate pattern over the observer pattern?
Yes, that is what I was thinking of. I understood delegated to be the event signature types to be used by the subscriber of an "OnWhatever" event. Apparently delegates in C# are not single-subscriber as they are in for instance Delphi.
Dec
2
comment What are the advantages of the delegate pattern over the observer pattern?
hmm. Not that well versed in C# yet. I understood delegates to be the equivalent of event signature types as used by "OnWhatever" events in for instance Delphi. So C# events can be subscribed to by multiple listeners?
Dec
2
comment What are the advantages of the delegate pattern over the observer pattern?
A delegate really is nothing more than an observer of an event. A delegate does not need to "handle" anything. It can safely do nothing at all and won't (or at least should not) affect the instance that triggered the event.
Dec
2
answered What are the advantages of the delegate pattern over the observer pattern?
Nov
26
comment How to tell whether your programmers are under-performing?
Have you considered that something else entirely may be going on with this person? When someone is calling in sick a lot and has to attend many personal events, my guess would be that something is happening in his private life that is distracting him at work. Badgering him about his performance isn't going to help either of you. Talk to the guy, find out what is going on in his private life, help him out if you can, give him some leeway if he's valuable enough to you - he will thank you for it and probably return with interest when his personal life is sorted out.
Nov
21
comment Why should a class be anything other than “abstract” or “final/sealed”?
@RobertHarvey: :-) for curly-brace languages. You could be right. Maybe that's why I don't like curly braces? Nah, C# is growing on me.
Nov
21
comment Why should a class be anything other than “abstract” or “final/sealed”?
@RobertHarvey: Ever heard of interposer classes? Where you give the derived class the same name as its ancestor and make sure it is closer in scope than the library unit? So you don't have to change every single line where the class is instantiated?
Nov
21
comment Why should a class be anything other than “abstract” or “final/sealed”?
@RobertHarvey: that certainly helps tremendously, but is not always necessary. Knowing the interface is often enough. Many Delphi component developers (used to) distribute the interface sections of all their units, even with "dcu-only" distributions. And nowadays reflection mechanisms also can help enormously.
Nov
21
comment Why should a class be anything other than “abstract” or “final/sealed”?
@RobertHarvey: yes it would be broken. And that is exactly when you need frameworks/libraries to be extensible. So I can program around the bugs in it without having to jump through hoops. After all: frameworks and libraries bugs do not get fixed instantly, sometimes not at all...
Nov
21
comment Programming language features that help to catch bugs early
Unit testing is not a feature of a programming language.
Nov
20
comment Is Google Closure a true compiler?
+1, and plus another for 'assumes that Wikipedia is authorative on this point'. Too many people blindly accepting whatever happens to be written there.
Nov
17
comment How to TDD test that objects are being added to a collection if the collection is private?
Yep. It sure does.