5,293 reputation
11330
bio website stroiman.com/software
location Gladsaxe, Denmark
age 39
visits member for 3 years, 9 months
seen 13 hours ago

I have worked professionally with software development since 1997. Since year 2000 I have worked as an independent contractor, helping various business in developing their internal and external IT systems. Since 2002 I have worked almost exclusively with the .NET framework.

Of notable work can be mentioned IT-Jobbank, Denmark's largest online job board for IT professionals, where I was the lead developer and architect.


Jan
25
comment agile / scrum and functional specs
"... @Pete expressed concern that if the spec were a story, how can the product be "potentially shippable" if all that is delivered after an iteration is a spec?" I have a feeling you have misunderstood my comment. What I am trying to say is, can you say that you are delivering a potential shippable after each sprint, if updating the functional specs is placed in a separate story scheduled to be implemented in a later sprint?
Jan
24
comment agile / scrum and functional specs
Very good idea to have updated ISO specifications to be part of the done criteria for a story. To place it in a separate story however, I have difficulty seeing how you can deliver a "potential shippable" product after each sprint.
Jan
16
comment IOC and stateless services. Short-lived or single-instance?
No. What I am trying to say is that it may be difficult to predict how your code base will be modified over time. But the question is extremely general, so I'm giving an extremely general answer ;)
Sep
11
comment Declaring interface in the same file as the base class, is it a good practice?
It is in fact a quite normal pattern to have one interface for one class in .NET, as it allows unit tests to substitute dependencies with mocks, stubs, spys, or other test doubles.
Sep
11
comment Declaring interface in the same file as the base class, is it a good practice?
Like it or not, using an 'I' in front of an interface name is a de-facto standard in .NET. Not following the standard in a .NET project would in my point of view be a violation of the 'principle of least astonishment'.
Jun
11
comment Is it common for a programmer not to know the difference between C and C++?
Generally, the "young" programmers I have met have had a degree in engineering. Come to think of it, almost all the programmers I work with have a degree in engineering, including myself.
Jun
11
comment Is OOP becoming easier or harder?
@gbjbaanb - We already have great tools for system-wide/acceptance testing, e.g. Cucumber on the Rails platform. But the teams that are really good and writes very few bugs, but also delivers fast, they write a lot of unit tests, and just a few system-wide tests. See about the "Testing triangle", e.g. here jonkruger.com/blog/2010/02/08/the-automated-testing-triangle
Jun
9
comment How to abbreviate variable names
I almost agree. I would say, don't abbreviate, unless the abbreviation is so common, that there is no doubt as to what is stands for. A good example is System.IO. Common could also be common just in the company that you work in. That would of course mean that new employees would not know exactly what it means. But being part of the company would mean that sooner or later they would learn the company lingo.
Jun
8
comment Is version history really sacred or is it better to rebase?
I completely disagree. The last couple of years we used a tool for code reviews, and there was nothing I hated more getting one large 30+ file changeset submitted for review. It is a lot easier to get a lot of small changes. E.g. I renamed this class to xyz because it better reflects the modified responsibility. I added method nn because I will be needing it for blah. Much easier to handle smaller reviews.
Jun
4
comment Does heavy JavaScript use adversely impact Googleability?
Ok, it has gotten more advanced. But how far does it go? If the page retrieves data asynchronously through AJAX and then inserts the retrieved data in the DOM, will Google be able to see that data as part of the original URL?
Jun
1
comment XML: Multiple roots + text content outside the root. Does anyone do it?
I modified you answer from "valid XML" to "well formed XML". Whether XML is valid or not refers to if it corresponds to a specific schema or DTD. XML that follows the basic rules of xml is merely said to be "well formed".
May
30
comment Web Service - SOAP
I think when the question specifically refers to attachments, I think that this refers to a stream payload being transmitted outside the scope of the SOAP envelope, not a Base64 encoded string inside the SOAP envelope itself. I did work on a solution that did that, but it is almost 10 years ago, so I cannot in any way remember the details (and I wasn't involved in the particulars of carrying this stream either).
May
29
comment When using method chaining, do I reuse the object or create one?
I did blog about a different approach to creating builders based on lambdas. The post probably does need a bit of editing. My context was mostly that of inside the scope of a unit test, but it could be applied to other areas as well if applicable. It can be found here: petesdotnet.blogspot.com/2012/05/…
May
28
comment What are some ways to maintain codebases written in two languages that implement the same logic?
@mattnz - You have utterly misunderstood my point. I'm referring to the programming principle of "DRY". That principle does in no way suggest that there should be only one operating system, office suite, etc. You can easily produce a product for multiple platforms while sticking to DRY.
May
25
comment Is having two conditions in an IF statement faster than having two separate IF statements?
@CodyGray - Thanks for the update on current VB version. I updated the answer to better reflect this.
May
23
comment Is having two conditions in an IF statement faster than having two separate IF statements?
"better"? If there is no performance penalty for evaluating the second condition, then the most easy to read code is in my opinion the better option. But there are some cases, where you need to split the if statements, e.g. if you write "if (list != null) && list.Count > 0", as the second condition would be invalid, i.e. throw an exception, if the first condition evaluates to false.
May
23
comment How to unit test large legacy systems?
I think that is exactly the topic, or one of the topics, of Working Effectively with Legacy Code But I haven't read it, so I cannot be certain.
May
11
comment How to represent a Rubik's Cube in a data structure
I feel tempted to quote Eric Evans, "Models are neither right, nor wrong. They are simply more or less useful" (quote probably not 100% correct as it is cited from memory)
May
1
comment Database architecture decisions
There is a singular/plural issue with the phrasing "multiple columns be foreign key", because it sounds like there is one foreign key bound to multiple columns. But in this case you want several foreign keys, each bound to a single column.
Jan
16
comment Should I refactor this rails application?
That is very interesting. I didn't know about the Observer. I do like it better than the current version. What about the case where the object being observed is not immutable, can the observer compare the current updated value to the original value when an object is modified?