Reputation
18,238
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
3 38 76
Impact
~529k people reached

Jan
14
comment I want to overload a function with the same type parameter; what should I do?
6. Don;t provide them Allow QString MyClass::strip(QRegularExpression open, QRegularExpression close); to take NULL parameters.
Jan
13
answered Is there a standard way or standard alternative to packing a struct in c?
Jan
12
awarded  Great Answer
Oct
5
awarded  Nice Answer
Sep
20
comment Writing your test assertions in your function comments (just before the code)?
Have a look at Python's Doctest.
Sep
1
awarded  Enlightened
Sep
1
awarded  Nice Answer
Jul
7
comment Type system for performance
The volatile and register keywords in C come to mind.
Jul
7
comment Bad practice - switch case to set environment
If you don't track the configuration file, how do you know if the config file you have is valid for the version of software you just checked out of your VCS. (i.e. an untracked config file is not different to an untracked source file - you cannot build and deploy from VCS checkout without it)
Jul
4
comment Cleanest way to write logically procedural software in an OO language
Acronyms are acceptable if they are widely used and known within the domain the software is targeting. Try writing Air Traffic Control software without using the - we have acronyms made up from acronyms - no one would know what you were talking about is you used the full name. Things like HTTP for networking, ABS in automotive etc are completely acceptable.
Jul
4
reviewed Leave Closed What standards can be expected from graduate/junior engineers?
Jul
4
comment What standards can be expected from graduate/junior engineers?
A vast majority of C programs have potential buffer overflows somewhere, many have them in places they should have been detected. You are being unrealistic expecting a graduate programmer to do better than a majority of professional programmers have achieved.
Jul
4
reviewed Leave Closed What skills should I cultivate to become a development/technical lead?
Jul
4
reviewed Leave Closed How to write tests that make sense for visualization software?
Jul
4
comment What's the quickest and most maintainable way to implement SQL querying of disparate C++ variables?
"... writes all of the information that might be useful... " - If its research, how do you know you have captured all the information that might be useful? How likely is it they would end up checking out, modifying, updating the database, running the query - i.e. more work than is currently being done). Another approach could to use branching in the RevControl. Maybe look into distributed system (GIT or Mecurial) with and SVN extensions so you can have local repos and branches.
Jun
4
comment Algorithm for comparing hundreds of similar, but not identical documents
+1 In this case why would a day, (or week or a month) to get a reliable result be a problem? In the 1960's computers were billed based on CPU time used and a day of CPU time might have been more expensive than doing it by hand, we have moved on from that era, CPU time is cheaper, developer time not.....
May
17
comment What defines robust code?
@kiwiron: Would a better solution not be to use a enumeration type, "Male", "Female", "Did Not Ask". Enumerations are better - can be extended when the need arises ( in your e.g. Asexual, Hermaphrodite, "Refused to Answer" come to mind).
Apr
28
awarded  Yearling
Apr
21
comment Does using the Telegram API mandate releasing the source code under a GPL license?
What are the terms of use of the API?
Apr
21
answered provability of while loop vs for loop