146 reputation
6
bio website
location
age
visits member for 2 years, 5 months
seen Jun 29 at 15:01

Feb
19
accepted Private apps for iOS and Android
Feb
18
comment Private apps for iOS and Android
So, is my understanding correct that it's possible to develop apps for Android and do not distribute them in Google App Store, but just deploy them on Android devices (without any control from Google); instead ANY app for iPhone/iPad must be previously approved by Apple, and to distribute it privately one must enroll in iOS Enterprise Developer program and pay $299/year?
Feb
18
asked Private apps for iOS and Android
Oct
31
comment Is modern C++ replacing C#? Is Microsoft pushing developers to adopt C++?
Both C++ and C# are just tools: pick the best one for the particular job. e.g. if you want to write cross-platform code, you may want to use C++; if you want small apps that don't require .NET runtime installation you may want to use C++ (with CRT statically linked); if you want to develop some GUI tool for Windows in a RAD way, you may want to use C# and WinForms; etc.
Oct
31
awarded  Critic
Oct
31
accepted Designing exceptions for conversion failures
Oct
31
awarded  Commentator
Oct
31
comment Designing exceptions for conversion failures
This was C++ related, but I think that's not very important to the question. I think the question is pretty language-agnostic. It's not interesting to know if the exception class is derived from std::runtime_error or CAtlException or something different; the focus is on how to organize the custom exception class(es).
Oct
31
comment Designing exceptions for conversion failures
@rwong: The conversions are all-or-nothing: either they succeed or they fail. In case of failures, exceptions are thrown.
Oct
31
asked Designing exceptions for conversion failures
Oct
30
comment How to make the switch to C++11?
Another important lack in VS2012 are "rvalue references v3", i.e. the automatic generated move constructor and move assign.
Oct
30
accepted Simplifying C++11 optimal parameter passing when a copy is needed
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MooningDuck: I've updated the code with the "hypothetical" simplified syntax according to that.
Oct
30
revised Simplifying C++11 optimal parameter passing when a copy is needed
Removed std::forward<T>(...) in the simplified syntax.
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MooingDuck: You're right.
Oct
30
awarded  Scholar
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MookingDuck: sorry for the setter sample code, that was a typo (I know setters don't have initializers) - I've corrected it.
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MooningDuck: I agree with you that simpler code == fewer mistakes, that's why I was having that idea of syntax simplification (but I was not sure, and decided to ask others for insights - exchanging feedback in a polite way is a good thing).
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MooningDuck: For a setter, would it be wrong for code like this void SetName(std::string@ name) { m_name = std::forward<T>(name); } to be expanded to template <class T, class = typename std::enable_if<std::is_constructible<std::string, T>::value>::type> void SetName(T&& name) { m_name = std::forward<T>(name);}?
Oct
30
comment Simplifying C++11 optimal parameter passing when a copy is needed
@MooningDuck: my understanding is that pass by value + move from the value is suboptimal with respect to the perfect forwarding solution.