6,689 reputation
32130
bio website softwareonastring.com
location Netherlands
age 53
visits member for 4 years, 7 months
seen Apr 19 at 16:44

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


Jun
16
comment Object Initializer in C# problem with readability
Constructors not protected against exceptions? Wow. This is a huge mental shift for someone coming from Delphi, where an exception thrown in a constructor automatically results in the destructor being called and the var which would have received the reference guaranteed to be nil.
Jun
16
comment Object Initializer in C# problem with readability
+10 (Though SE makes you settle for +1) Thanks for a great concise yet comprehensive tutuorial on this subject.
Jun
15
revised Do all programs run in a loop?
added 261 characters in body
Jun
15
comment Do all programs run in a loop?
@gnat: yeah, you are right.
Jun
15
answered Do all programs run in a loop?
Jun
15
comment Do all programs run in a loop?
@gnat: Exactly. The distinguishing factor isn't the interface - commandline or (G)UI - but whether the program is interactive or not.
Jun
14
comment Is 25% to me as sole author a good deal?
Book authors usually only get 10% royalty by poublishers on consumer price of the book.
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
14
answered Messages from UI or from subs?
Jun
12
awarded  Electorate
Jun
9
answered Freelancing and GPL?
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
6
answered Designing a robust architecture for multiple export types?
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
4
answered What is the justification of use .inc files to declare and implement code is some Delphi RTL units?
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.