13,476 reputation
43760
bio website
location Minneapolis, MN
age
visits member for 4 years, 7 months
seen 6 hours ago

May
7
comment Is returning a reference to inside a private vector bad practice?
It depends on a lot of things. What's the lifetime of whatever is calling getTileAt vs what owns the board? Is it even possible that something will have saved references to the tiles, between whatever else is modifying the board? If your application is single threaded, it's easy to reason about when the Board is being accessed. Also, whether members are private vs public has no bearing on whether references "leak" or not.
May
5
comment OpenGL programming vs Blender Software, which is better for custom video creation?
If instead of learning "graphics", if instead you were learning "drawing", then your comparison would be similar to "making paper vs painting". Do you want to learn the mechanics of taking data and making it appear on the screen, or do you want to learn how to model, sculpt, and paint things.
May
4
comment How to open a desktop application through browser without a Java applet?
@RichardTyszka: It's the opposite of the goal of almost everyone. I do not want my browser able to launch arbitrary programs on my computer without very specific authorization. Think of the trouble that could be caused if visiting a web page could cause your browser to execute some arbitrary batch file some jokester left for you?
May
1
comment How to open a desktop application through browser without a Java applet?
@RichardTyszka: package it with your desktop application. Clunky sure, but it could be made invisible to the user.
May
1
comment How would I prevent assemblies that have been digitally signed from being called by unsigned assemblies?
@RobertHarvey: maybe, but we don't know that for sure yet.
May
1
comment How would I prevent assemblies that have been digitally signed from being called by unsigned assemblies?
This smells of an X Y problem. What is the problem you think this may be a solution for?
May
1
answered How to open a desktop application through browser without a Java applet?
Apr
29
awarded  Informed
Apr
29
comment Injecting collections as constructor dependencies
Can you give a code example? I'm having a hard time visualizing what exactly is at play here.
Apr
29
comment How to retrieve the third-party library licenses
What you are looking for doesn't exist, there is no best practice. You have to do it by hand.
Apr
29
answered Using MonoDevelop for Commercial Software Developing
Apr
24
comment Structuring Procedural vs OO code
@JoeP: C++ has a variety of other features besides just OO features, such as exceptions. With C, it's pretty straightforward to imagine what your resulting assembly code is going to look like, with C++ that is pretty much impossible.
Apr
23
comment Why have many programmers moved to using exception handling for input or output?
The abundance of C programmers and projects in C disagree with your claims of "almost all"
Apr
20
awarded  Citizen Patrol
Apr
11
comment C# Real time HMI (Human Machine Interface)
Sure, you can't do proper real-time with .NET, but you can sure do "good enough" for many applications, including machine control systems.
Apr
10
comment Required clarification about GPL licence for creating extensions of GPL software
@JörgWMittag: while this isn't a legal website, software licensing is on topic, and we are capable of thinking for ourselves.
Apr
8
comment Does Microsoft still have C++ container limitations when passing to DLLs?
Short answer because I'm on my phone, yes, you'll have problems, because of a variety of reasons boiling down to no standard for binary compatibility. Possible solutions are to expose a pure C interface, or use COM.
Apr
4
comment No exceptions C++ and partially constructed objects
Are you working on something that demands a jet-fighter level of reliability and is backed with a defense-contractor scale budget?
Apr
3
comment Is it the standard accepted practice to install software using VBScript?
There is no standard "accepted" practice to pretty much anything on Windows, especially not with regards to installations.
Apr
2
awarded  Nice Answer