19,097 reputation
13772
bio website thehungersite.com
location United Kingdom
age 45
visits member for 3 years, 3 months
seen yesterday
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

Jul
24
answered Web App vs Windows 8.1 Modern App (Metro)
Jul
24
answered How much data should exceptions hold?
Jul
24
comment Should temporary code be put under version control and how?
@randomA not really - git does it that way so you can continue to commit while working in a distributed way (even offline). When you push upstream you still push all individual commits (unless you effectively delete them, something any SCM user should be very wary of!)
Jul
24
comment Is there a way to use RAII techniques in COM?
@Mike not really, I refer to a smart pointer class - a facade rather than a factory. But factory would work too.
Jul
24
comment Should temporary code be put under version control and how?
@Vorac - that's what code reviews and testing is for! I can show you far worse than that - code that doesn't work even though it looked good at first glance. Return 7.. if only they were all so obvious!
Jul
24
answered Is there a way to use RAII techniques in COM?
Jul
24
answered Should temporary code be put under version control and how?
Jul
24
comment Is there an official programming format?
The only standard worth anything is the one that matches the code you're maintaining. Consistency with the existing code is the only standard worth a fig.
Jul
24
answered Tool which lets you view external function calls from a class
Jul
23
answered Is a book that teaches how to build compilers good for learning to implement interpreters?
Jul
23
revised Relation between projects and solutions in VS
added 98 characters in body
Jul
23
comment Relation between projects and solutions in VS
I agree NuGet is a "cool new thing", and I am always distrustful of Microsoft "cool new" things, but in this case it appears to be a solution to dependency management (if over-engineered). You can home-grow your own by simply copying dlls into a common directory in a post-build step.
Jul
23
answered Relation between projects and solutions in VS
Jul
20
comment Managing unique data correctly in SQL
it is, but this is the answer he's looking for - a unique constraint on the data. I don't consider 1,2,4,5 are solutions worth considering unless you have special reasons.
Jul
20
comment What's so difficult about SVN merges?
Tree conflicts - yes, SVN has difficulty with these, though TBH so do every other SCM. Git has some heuristics to try and figure out if files that have been renamed or moved are the same, but it doesn't (cannot!) always get it right. I think SVN should put some effort into making resolving these conflicts easier to understand.
Jul
20
answered Managing unique data correctly in SQL
Jul
17
answered Outsourcing functionality from Django view to C/C++
Jul
16
comment Desktop to Web - How to deal with user-interactive workflows
@OlivierH yes it would - even angluarjs webapps run a large part of the html page as 'static' html, the angular part just connects to back-end data services and displays (and allows updating) of it easily. I'd take a look at Wt as mentioned already, it uses websockets for interactivity by creating the html gui for you - you effectively write a Qt app and the GUI part gets magically converted to HTML instead of desktop.
Jul
15
comment Started wrong with a project, should I start over?
This is the one situation where the full rewrite might be appropriate - if he's basically used the first version as a training tool, then the 2nd version will be the "one he should have written". I think in all other cases, the rewrite is bad advice, but not here. Not for someone who wrote the code not really knowing what he was doing. Mind you, fixing it should be another excellent training opportunity!
Jul
15
comment Desktop to Web - How to deal with user-interactive workflows
hm mmm, sounds like its going to turn into one of "those" enterprise Java applications users know and love. You can write a "single page app" using websockets and angularjs, but my advice is to really consider what the usability will be to make this a success - parroting the existing desktop GUI paradigm will need to be tempered by some practical considerations of web tech and expectiations.