2,580 reputation
821
bio website
location
age
visits member for 3 years, 9 months
seen Jun 10 at 14:44

Jan
16
awarded  Guru
Jan
7
comment How should I mark types in C and C++ programs?
ultimately this is a form of Hungarian Notation. And that discussion is endless. I for one am against it now and go with cHao's solution. Why? Because I used Hungarian Notation for about 4 years for everything, then decided to do a project without it and didn't miss it at all. And didn't waste time on it. So I dropped it completely since it had, apparently, no value at all for me. And I never looked back.
Jan
7
comment Style guide for C++
@MathewFoscarini astyle is not that bad, but I found it way too limited. uncrustify.sourceforge.net on the other hand has more options than you can think of. in combination with universalindent.sourceforge.net I found it could turn pretty much any style into the style I want.
Oct
15
comment Strategy for code review before merge to master from feature branches
yeah it's a matter of preference.. If master normally is clean and straight I don't mind large features having a separate 'bubble'. If master is a mess already, no-ff only makes it worse
Oct
15
comment Strategy for code review before merge to master from feature branches
+1 also the OP didn't ask about the next steps, but to get your feature into master you could use a merge --no-ff which will clearly show that branch on master instead of the feature just disappearing in the rest of the commits
Sep
26
awarded  Yearling
Aug
22
comment How do I distribute my scientific software with as few dependencies as possible?
@JanHudec on windows you can also just link dynamically and put all used dlls in the same directory as the exe
Jul
29
comment Looking for Case Studies of How TDD Improved Quality and/or Speed of Development
I'm not sure how I can post more than the link without duplicating the linked content? The provides what the OP asks for: a case study on TDD and a review of that study.
May
19
comment Why does every installer on Windows have to be run with elevated privileges?
@Marco fair point, but we're talking installers here, not just copying files to a directory, and imo the (sometimes quite horrible) days of compiling everyhting from source are almost over; since linux popularity is slowly rising there's a ton of linux users out there that even don't know such commands.
Mar
1
awarded  Nice Question
Jan
17
accepted Is it ok to use static (compile-time) assertions in unit tests?
Jan
16
asked Is it ok to use static (compile-time) assertions in unit tests?
Jan
15
comment Does auto make C++ code harder to understand?
imo the example should use cbegin() and cend() as it's (sort of) more const-correct and because it clarifies the intent better especially in the light of auto: it tells 'hey I'm a const iterator' and you don't even have to look at the definition of x to know it is.
Jan
2
comment Constants in C#
this doesn't really address the 'why' but is interesting nonetheless: stackoverflow.com/a/2128633/128384
Nov
28
comment Is it useful to unit test methods where the only logic is guards?
@Matthew very good point. This function lies. The naming tells you it's gonna order something. And then it doesn't but you will never know, unless you apply the same logic as is inside, which iviolates DRY. In other words: if the design is changed to be more correct, this question maybe wouldn't have been asked in the first place.
Nov
26
comment What is a good support knowledge base tool?
well we use both Jira and Confluence and we do not have too much problems using search (we do make heavy use of well-selected tags though); did you check this confluence.atlassian.com/display/DOC/Confluence+Search+Syntax? The Jira search is even way more powerfull.
Nov
26
comment What is a good support knowledge base tool?
what wiki are you using? Maybe it's not too suited for what you are trying?
Nov
20
awarded  Disciplined
Oct
26
awarded  Nice Answer
Oct
22
awarded  Nice Question