334 reputation
18
bio website skiinfo.com
location Norway
age
visits member for 4 years, 6 months
seen May 3 at 8:01

May
3
comment building feature dependent version software
I know that question was pretty abstract, but I don't want to have 2 different algorithms for same think. For example: I have matrix multiplication and there is a lot of matrixes, so I can multiply them in single thread one by one, or use N threads. Algorithm for that differs a lot, but I don't want to maintain 2 algorithms when I can use just 1, though giving advanced version for same price might be not best for marketing. In this case I probably can just have light version with limited thread numbers, but is that best approach.
May
1
awarded  Scholar
May
1
accepted building feature dependent version software
May
1
comment building feature dependent version software
I don't think I would like to limit users possibility in that maner, there is plenty of customers, who just don't have big budget, but I still would like to sell something to them.
May
1
awarded  Student
May
1
asked building feature dependent version software
Feb
20
comment typedefs and #defines
I just love people who down voting and even don't bother to write a comment.
Feb
20
revised typedefs and #defines
typo
Feb
2
comment Should unit-tests be entirely self-contained?
when you writing test, that uses another module, your test isn't unit test, so irelevat for question. To use another module, in unit testing you are using mock object to imitate same behaviour and mock object always return what specification says.
Feb
2
comment Should unit-tests be entirely self-contained?
As I agree that unit test should test one thing (smallest possible code unit), it don't necessary should assume that evey other parts works correctly, moustly because unit test should not have any interaction with other pars (and there goes mocks, as you pointed).
Dec
31
answered Emotional detachment from bad code
Dec
31
comment Emotional detachment from bad code
who say that code can't be too big to clean it (or you always need folow scout rule) obviously didn't workt with big codebase that is written by mixed programmers. When correct fix takes weeks to implement it is rearlly up to developer to decide if he can spend such amount of time (and weeks somtimes is no enough).
Sep
7
comment Is rotating developers on a project a good or bad idea?
first one "Management will get to know , the strength and weakness of particular developer." is actually opposite, because it's much easier to hide your weaknesses when you are moving from one place to another, there's always more people/software to blame, why it was late, buggy, not done.
Sep
7
answered Is rotating developers on a project a good or bad idea?
Jul
29
comment The Relative Cost Efficiency of (Acceptance) Test Driven Development
"Yes, you need to unit test every method." and "Unit tests are not for those." are a bit opposite, aren't they? And if we don't need to unit testing database access, does that means there cannot be errors (or just there is no way how to test that?).
Jul
29
comment Distance calculation and data normalization
"The Google Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations." therefore distance(zip1, zip2) not necessary equals distance(zip2, zip1), because they would be always equal if you always can get back from zip2 to zip1 in same way as from zip1 to zip2, but that's not true (for example if address is in on way street you will need to travel in different way)
Jul
29
comment The Relative Cost Efficiency of (Acceptance) Test Driven Development
so you say that if I write unit test my code will be completely tested and if all test pass, that of course mean that software is bug free (or at least better). So I just need test every method of my software e.g. "function testSqr() { int a = 3; assertTrue(mySqr(a) == 9); } function mySqr(int a) {return 9;}"
Jul
26
comment How to deal with requirements and use cases in this kind of situation?
"the system must" is not necessary implementation detail, it's usually function that user needs (with high priority). If user say that system must allow to select folder where to store files, it just say that system need to have way to select folder, but not how this should be implemented.
Jul
24
comment How to format this line according to PEP 8?
if you are so picky about code maintenance (aka orig code for compiler), then you should rename "webResponse" variable, as it not clear from name, what this variable is used for.
Jul
22
comment How to save during real-time collaboration
if you already sending changes, and want to leave same behavior like it is now, you can ask one of clients send last view to new client or you can have one virtual client on server, who gets all changes and when new client joins sends latest view to it.