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

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
answered The need for adding an interface to every class
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
revised Why does JavaScript count array lengths by the last index?
added 706 characters in body
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.
Apr
7
answered Why does JavaScript count array lengths by the last index?
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...
Feb
26
awarded  Caucus
Feb
26
awarded  Constituent
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?