5,302 reputation
1428
bio website codeproject.com/Members/…
location
age
visits member for 3 years, 7 months
seen Sep 11 at 20:11

Jan
6
comment Comparison of IDEs for C++ and C development on Linux: KDevelop, Eclipse, NetBeans, CodeBlocks and Anjuta
@Sergei Sorry, ctags does not support that. You may have better luck with something like YCM: github.com/Valloric/YouCompleteMe
Jun
7
comment Programming Style in Large Scale C++ Applications
More general functions that are meant to be used from different places are, as you say, best grouped together via namespaces. For instance, take a look at Boost libraries.
Jun
7
comment Programming Style in Large Scale C++ Applications
toHtml() is just a helper function (poorly named, IMHO), that is used just to add some HTML tags to the help text. It does not need to be visible outside the module where it is declared, as it can't be used from there anyway. Ideally, it would be even more hidden, as it is called from exactly one place - for instance a nested function in languages that support them.
May
9
comment Why is there no 'finally' construct in C++?
@Mikey: The problem is that too many people write C++ in Java-like style. See this text for more info: codeproject.com/Articles/38449/C-Exceptions-Pros-and-Cons#3_2
May
9
comment Why is there no 'finally' construct in C++?
@Mikey: I know very little about Delphi, but AFAIK it only supports heap-based objects - is this correct? If so, you still need to manually call Free to call the destructor. With C++, you have stack-based objects that are destroyed automatically and trigger the cleanup.
May
9
comment Why is there no 'finally' construct in C++?
@Tacroy: C++ is one of very few mainstream languages that has deterministic destructors. C# "destructors" are useless for this purpose, and you need to manually write "using" blocks to have RAII.
May
6
comment Have programmers at your work not taken up or been averse to an offer of a second monitor?
I've worked with multiple monitors before and now with a single monitor, and while a second monitor would be nice to have, it is far from being a must.
Apr
25
comment How to reject a code review that you believe is unnecessary?
The way you described the problem, it seems you don't think his change would be harmful - just unnecessary. If that's the case, I would simply approve the change and forget about it. Not every battle is worth fighting.
Jan
18
comment How do you debug without an IDE?
"There was a time when it took too long to recompile and link a program, but today it takes just seconds". Depends on your language and size of the project. If I change a header file in my current project, it will take around 65 minutes to rebuild on a 32-CPU machine with 256GB RAM (I am not kidding)
Dec
17
comment Does UX matter for enterprise software?
Some of the most successful enterprise software has the worst UI. Lotus Notes, etc.
Dec
13
comment As a software architect, am I supposed to focus that much on analysing the logs and fixing other's bugs?
Nah - the duty of an "architect" is to create bugs, not fix them.
Nov
5
comment Why do browsers leak memory?
What do you mean by "appears as plain as day"? Did you use some leak-detection tool on web browsers?
Sep
7
comment How can I convince my boss that ANSI C is inadequate for our new project?
Global variables and threads? You are in trouble, my friend, regardless of the programming language you use.
Jun
7
comment What does it mean to do a “null check” in C or C++?
@James: 'new' in kernel mode?
May
31
comment What is the best C++ source code to read for a beginner?
Why close votes? The question is clear and concrete.
May
30
comment Maybe monad vs exceptions
@delnan: I am not saying a missing value can't ever be a sign of an exceptional state - it just doesn't have to be. Maybe really models a situation where a variable may or may not have a valid value - think nullable types in C#.
May
29
comment Stuck due to “knowing too much”
That's true for any version :)
Feb
21
comment Simple explanation of the Unix sockets
Beej's Guide to Network Programming seems to be a very popular intro text to Unix sockets, although I can't say I like it.
Feb
17
comment Why are several popular programming languages influenced by C?
@S.Lott: What is exactly the subtlety? Nouvelle France was occupied and their governor surrendered to British in 1760.
Feb
17
comment Why are several popular programming languages influenced by C?
@S.Lott: "French and Indian War" was won by British - they drove French out of Canada. Off topic, of course.