Reputation
30,005
Next tag badge:
97/100 score
21/20 answers
Badges
3 62 109
Newest
 Guru
Impact
~1.1m people reached

Jun
22
comment Re-writing a large web application - alternatives to LAMP
C++ for web dev is admittedly niche, but certainly is worth considering, given that many big players have been shifting their back end systems to C++. Personally I'm more a fan of C++ services hooked up to more traditional web front-ends, but that doesn't mean C++ is 'not worthwhile' in the web realm, especially for a "very large web application".
Jun
22
answered Responsibility of an ESB
Jun
22
comment Is continuous integration more than just automatically testing code?
and what is the problem of failing tests that you expect to fail due to changes in the code? You should be welcoming these as it shows you what tests need updating as part of your ode builds (which is exactly why you run them in your CI process in the first place!) You could also be updating tests that you expect to be broken by your feature changes in the branches you apply the code changes anyway (ie where else would you fix your tests?!)
Jun
22
answered Shipping test code. Why wouldn't you?
Jun
18
answered Member and Function Injection in C++ Across Multiple Classes
Jun
18
answered Migrating from SourceForge to Github, should I delete the SF repository entirely?
Jun
18
awarded  Nice Answer
Jun
18
comment Best practice boolean assignment
@PaulDraper I once saw code by a contractor that turned a byte array into a std::list just to pass into a function (that he wrote!), and then unpack it into a byte array again. I've been around and seen all manner of bad :)
Jun
18
awarded  architecture
Jun
17
comment Best practice boolean assignment
this is the correct answer - although the code in the question is correct, adding the brackets does tell the reader that it is not as assignment. If you were quickly looking through code, the brackets give you that instant extra info that stops you looking closer to see if the code meant to be like that, and wasn't an accidental bug. For example, imagine the line was a = b == c, did you mean assign a bool or did you mean assign c to both b and a.
Jun
17
comment Best practice boolean assignment
@scriptin 5-8 lines v 1 line is more than preference, the 5-8 liner is usually clearer and better for it. In this simple example, I prefer the 1 line, but in general I've seen too many 10 liners that were obfuscated into 1-liners for comfort. Given that, I'd never complain about variant 1, it may not be pretty but it does the job just as clearly and obviously.
Jun
17
answered Automatic deployment of windows desktop application
Jun
17
comment Is the git “Golden Rule of Rebasing” so essential?
IMHO the design feature of both rebase, and fast-forward merges was a mistake. SCM is about keeping the history so you can see what happened when you need to, and take snapshots for relevant points in time. At least that's what most people want, I guess Linus wanted the history to be as simple for him to read as possible and so put them in for his benefit. IMHO he should have put more effort into making diffs between 2 revisions more manageable instead (ie allowing the view to be simpler, not the underlying history)
Jun
17
answered Appropriate developer permissions on a dev server?
Jun
17
answered How can I write unit tests that simplify feature implementation?
Jun
17
answered Is the git “Golden Rule of Rebasing” so essential?
Jun
17
comment why do people do REST API's instead of DBAL's?
ever wonder how some web companies report that their entire user records were stolen by a hacker? Ever wonder how the hacker did it? When you think that a web server has a direct connection to the DB, you realise once the web server is hacked the attacker has full and unrestricted access to select anything from the DB he likes. Stick it behind a middle tier and the attacker can then only call methods on the middle tier. I won't say that's instant security, but its significantly better.
Jun
16
comment first time scrum master - need to create product backlog and set up work
@BartvanIngenSchenau ah yes, partly - but the team should still be involved with the initial product backlog, and should (roughly) be doing what I described, only concerning the total product.
Jun
16
answered first time scrum master - need to create product backlog and set up work
Jun
16
comment Is the semantic contract of an interface (OOP) more informative than a function signature (FP)?
You can have too much of a good thing, applying ISP 'rigorously' to end up with 1 method per interface is just going too far.