18,143 reputation
13270
bio website thehungersite.com
location United Kingdom
age 45
visits member for 3 years, 3 months
seen 44 mins ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

32m
answered Is this a good practice or not?
19h
comment What is a good strategy to develop apps that run in console and as API?
so you can think of a command line as a form of GUI. Put parameter parsing in a command line app that does nothing but call the library. The problem then becomes one of choosing whether to build the library as static or dynamic.
19h
comment Value of passing by reference
@delnan true, I wasn't trying to provide an exact analogy, but pointing out some things can trip you up no matter what language you use. In C#, that is more often the case with assignments than passing parameters. I should have taken more care with my comment!
20h
comment Value of passing by reference
no more so than C# - compare passing a struct to a class. One is a value type, the other a reference so you change the data in one, you change the data of a copy in the other. Other languages have similar issues, you just have to be careful, take your time, and know what you're doing.
20h
comment Am I wrong in thinking that needing something like AutoMapper is an indication of poor design?
@Den - yes. And you write tests to make sure you get all the properties correct (ie your test will show any properties that you've added in 1 place that do not get propagated to the other tiers)
2d
comment How to turn a GUI C++ application into distributable executables?
are you asking how to deploy an app to other platforms, or how to write a cross-platform app (distributable usually refers to running an app across many PCs at the same time). FYI SDL is cross-platform code, and runs on all 3 (plus mobile IIRC) platforms.
2d
comment use of agile and scrum outside the IT industry
FYI Kanban is an agile process that was invented by Toyota and adopted by the IT industry.
2d
comment Screen out software engineers with poor communication skillls?
If they can't express their intentions to others, can they express their intentions to a computer, where accuracy is much more important. Even Asperger-syndrome sufferers can express themselves well, just that happens to be rather blunt and appears rude. Too often its an excuse for simple anti-social selfish and laziness.
Jul
7
answered What are the causes that lead to an overbloated software?
Jul
7
comment What are the causes that lead to an overbloated software?
at least on Linux you can just run apt-get or yum and all the deps are installed in short order. Windows... not nearly so easy.
Jul
7
comment What are the causes that lead to an overbloated software?
SQLServer 2008R2 is the worst. Once badly installed, you cannot remove it without a full OS reinstall. (well you can, but trust me, a full OS reinstall is significantly quicker and easier)
Jul
7
comment Testing gap between unit and integration: Integration in the Small, Component, Unit Integration Tests
I guess you will have to add your own integration tests, but call them unit tests, "we're unit testing the customer login module" as you run up cucumber or selenium.
Jul
6
answered Testing gap between unit and integration: Integration in the Small, Component, Unit Integration Tests
Jul
6
answered AngularJS route and HTML 5 concept
Jul
3
comment Cross Platform Compilation of C++ .exe
@Wilbert yes, but that's not quite the point - you have to keep your packages updated to what your customers use. So if you have one on latest Ubuntu and another on LTS, you have 2 machines to manage. Hence the "correct" way is to sort out a build with all the combinations you use. If you only have 1 or 2, its easier to have a VM. If you end up with tens... things get quite different, especially if you don't upgrade your program until its been fully tested against the latest upgrades. YMMV.
Jul
3
comment Cross Platform Compilation of C++ .exe
@Wilbert do it the easy way, or the correct way. Or to put it another way - do it the simple way that works now, or the correct way that will work when the versions change sometime in the future.... I know, I know, easy always wins :)
Jul
3
answered Can XCode work with TFS?
Jul
3
answered Cross Platform Compilation of C++ .exe
Jul
3
comment Cross Platform Compilation of C++ .exe
if you have the correct dependencies, can you not compile using the same compiler (eg gcc) and simply specify a different set of compiler flags? I know gcc is used to cross-compile some Windows libs from a Linux box (eg ffmpeg)
Jul
3
comment Best datatype to store a ternary, or three-state variable
A tuple is a datatype that can store multiple elements, something like a struct, only dynamically defined. So it would store 3 variables of the type the OP wanted. It doesn't serve to provide the restriction on content he wanted.