6,501 reputation
32129
bio website softwareonastring.com
location Netherlands
age 52
visits member for 4 years, 1 month
seen Oct 18 at 14: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


May
8
comment Please tell me I'm not alone (can't program on paper)
Good on you! Practice makes perfect. Try and get into more interviews. I used to make a habit of applying and interviewing even when I was pretty happy where I was. I did pick only jobs I was genuinely interested in, because I didn't want to waste anybody's time. Being happy where I was meant there wasn't too much pressure to get everything right to get the job, so I could be more relaxed (and do better as a result) and if I did bodge an interview I could chalk it up to "experience gained".
May
8
comment What are the disadvantages of using stored procedures, SSIS, and SSRS to implement business applications?
I see a cyclic argument here. Paraphrasing: "Moving to a different database would be a very large project and would be rare, so go ahead and put everything in the database". But putting everything in the database makes changing database vendors a large project and thus doesn't happen very often. Chicken and egg come to mind. The less logic you have in the database, the less of an issue moving vendors is, the more it (could and would) happen... (On top of that you have the issue of using database specific features for your business logic, increasing the scope of any project to change...)
May
4
comment Is there a name for the school of thought behind writing tests?
@JörgWMittag: you are wrong. You cannot, by its very definition, have test driven design without test driven development based on unit tests and all other automated tests built on top of that foundation.
May
4
comment Is there a name for the school of thought behind writing tests?
@Giorgio: Yes, you can have unit test without doing anything else, but not the other way around. TDD (Test Driven Design) is built on TDD (Test Driven Development) and Test Driven Development cannot work without unit tests.
May
4
comment Is there a name for the school of thought behind writing tests?
Please remember that TDD can stand both for Test Driven Design as well as for Test Driven Development. I took it as the latter... And as Robert says TDD and unit testing are in now way orthogonal.
May
4
comment Please tell me I'm not alone (can't program on paper)
Did you tell them how you felt doing the test? That you knew what was wrong, but couldn't think of the fix because the situation they put you in (graphite marks on paper) made you extremely nervous (something which tends to feed on itself). I participate in job interviews as an interviewer and evaluate candidates' test results. When someone bodges a test or does less well than expected, knowing what was going on with that person helps to assess how that would affect performance given that we know a lot more about they day to day goings on.
May
4
comment Is there a name for the school of thought behind writing tests?
No they were not. Unit testing was around before Agile was. Unit testing is the safety net you need to do any refactoring with confidence, whether you work in an Agile manner or not. Because Agile advocates YAGNI it also means you do a lot of refactoring when it turns out you do need something and you need to change your design for that. As a result Agile is a great proponent of unit testing, but that's all, they certainly didn't introduce it.
Apr
30
comment How to prevent intentional over-estimation in user stories?
While the product owner IS part of the SCRUM team, he is NOT part of the development team! Read your scrum guide again.
Apr
10
comment How to close a bug that is no longer relevant
Jira allows for this approach as well. Just mention the issue number in the resolve comments and Jira will turn it into a hyperlink.
Apr
9
comment Closest Point of Approach (CPA) mathematical formula in ship radar
@MartinBeckett: Yes, it may seem like a useful feature, but the "keep your distance" rules are taken into account when plotting ones course and sh/would not be part of a collision avoidance system. It would sooner be implemented as the ability to display a circle with a radius of the distance to keep away.
Apr
8
comment Closest Point of Approach (CPA) mathematical formula in ship radar
Just a remark. If one ship is stationary, you would have to be aiming for it in order to hit it. Well, okay, not quite, there is also current and wind to consider. However OP seems to be after a collision warning system and stationary ships usually do not figure into that as they are easily avoided, it is other moving ships that need to be assessed continually especially in low visibility conditions where the easy visual assessment (does the bearing change) is out.
Apr
7
comment Why does JavaScript count array lengths by the last index?
And by the way it doesn't do Last Index + 1, because there may not be an element at 8 yet. The array may still be of length = 3 when you do the testArray[8] assignment. @Thorsten explains it better.
Apr
7
comment Why does JavaScript count array lengths by the last index?
@VirtuosiMedia: How do you know it doesn't? But why should it? Arrays, I think per definition, can't have "holes" in them.
Mar
30
comment Best practices for sharing tiny snippets of code across projects
Yes, I agree on the cross-cutting code. And many thanks for your 'make it easier for the consumer to write proper logging code'. It made a whole bunch of things suddenly drop in place in my mind!
Mar
30
comment Best practices for sharing tiny snippets of code across projects
+1 This would be my approach as well. Interested to know how you decided where to put code that deals with stuff from two or more aspects. For example IPAddressToString. And whether you allow these libraries to use each other. For example services and data can probably benefit a lot from logging...
Mar
16
comment How do I convince manager to move me from services/support team to development?
Tell him what you told us. Motivations are not objective and you shouldn't try to objectify what is essentially a subjective preference.
Feb
21
comment how easy is html/css?
Yes, those parts can be useful, but I don't need to know the entire protocol for that. Stuff like network communication, storage, specific file formats etc. really are secondary in nature. They are the nuts and bolts in programming. Libraries are to a programmer what a tool set is to a carpenter. When a good library is available, any programmer's time is better spent developing primary business functions than implementing protocols or storage definitions.
Feb
21
comment how easy is html/css?
On your side note: Nobody mentioning knowing these protocols probably comes from the fact that hardly anybody ever needs to do any programming for those protocols. Most of them are abstracted away by network protocol libraries. You would only mention knowing those protocols if you were involved in programming those types of libraries.
Feb
16
comment What *are* the programming concepts I should master to have a deep understanding of my craft (programming)?
@PeterRowell: Yes sure we refactored. I just meant that it maybe wasn't called "refactoring" yet?
Feb
7
comment How to create high quality code producing teams? (as a group leader)
You should only mentor your team leaders, so they can do a better job of mentoring their teams. Teach the teacher! If there isn't enough time to do so, cut back on the strategic meetings. Many of them are ineffective brain storm sessions that could be a lot more effective if everybody came well prepared and each meeting had a very focused question to answer.