Reputation
3,928
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
9 21
Newest
 Nice Answer
Impact
~120k people reached

  • 0 posts edited
  • 5 helpful flags
  • 99 votes cast
Oct
7
comment What code lays behind C++ exception?
-1. There are a number of things wrong with this answer. The biggest is that very few (if any!) implementations use the execution stack for exception handling. Exceptions are supposed to be exceptional -- i.e., they are presumably rare. Adding all that exception handling baggage to the stack would slow down every call, every return, and for very little gain. Most implementations use a completely distinct area than the stack for throwing and catching exceptions.
Oct
5
answered What code lays behind C++ exception?
Oct
4
comment Why doesn't Python just establish a format for declaring tab widths?
Set up your editor / IDE so it accepts your tabs as input but immediately converts them to the right number of spaces.
Oct
1
comment Can compilers check whether certain axioms hold for a user defined type?
@ScarletAmaranth - Re is it possible to perform such checks in all scenarios? No. It's an undecidable problem, the en.wikipedia.org/wiki/Entscheidungsproblem .
Sep
27
answered Can compilers check whether certain axioms hold for a user defined type?
Sep
9
comment Interview question “What is virtual function”
@ThiagoSilva - I would call what you are doing an "error", not "overriding". It is an illegal error in my world. Code that doesn't compile clean with a boatload of warnings options enabled needs a project waiver. Overriding a non-virtual function gets a compiler warning for hiding the parent class method, and that warning is not going to get a waiver any time soon.
May
31
awarded  Yearling
May
17
answered Ensuring that headers are explicitly included in CPP file
Feb
13
answered Detecting misusage of delete[] vs. delete at compile time
Jan
25
answered Branch vs decision coverage question
Jan
12
answered What are the pros and cons of Inter process communication done via sockets vs shared memory?
Dec
17
comment Should developers be responsible for tests other than unit tests, if so which ones are the most common?
It is your responsibility to deliver defect-free code. I disagree. Not strongly enough to deserve a down-vote, but I do disagree. This is an unattainable goal for a project of any reasonable size. In a big project (millions of lines of code), there will always be bugs. Some of these will be known but accepted bugs, but there are always undetected bugs lurking about in the code base. A software defect rate of 0.01 errors/KSLOC is absolutely stellar and is incredibly expensive to attain.
Dec
7
comment Separating merged array of arithmetic and geometric series
This question also is at stackoverflow.com : stackoverflow.com/questions/13758977/… .
Dec
7
comment Separating merged array of arithmetic and geometric series
That's an O(n^5) solution, maybe worse. There has to be something better. But it is a solution, so +1.
Dec
7
comment Separating merged array of arithmetic and geometric series
Obviously a series is defined by at least two numbers. Is that in the rules? The empty set and a set with one element can be quite nice as a series. With the series 2,4,6,8,10,12,25, I would say that 2,4,6,10,12 and 25 is also a solution. If 25 isn't valid, pick any arbitrary number from the first set and add it to the second and voila!, another solution.
Dec
5
comment What is development automation?
There are tools to automate traceability from requirements to design to implementation. Some of these even make a start at the initial implementation. There are other tools to automate testing. There are yet other tools to automate the build process. There are lots and lots of software development automation tools. Some are very good, but are domain specific; others claim to be generic (but usability and a host of other 'ilities' suffer.
Dec
4
answered how to properly credit authors of MIT license program
Nov
27
comment How to choose a development method?
There is no good development method if you choose to hire people with no domain knowledge, or with limited skills in programming.
Nov
26
answered Where does the term “Front End” come from?
Nov
26
comment What are the best practices and strategies for transferring an outsourced software development project in-house?
+1. Re Is the product based on a technology that the third party owns, or does it require specialist knowledge? This should be separated into two bullets. The first half is a contractual / legal issue, and possibly introduces a reverse engineering problem. The need for specialist knowledge is a distinct question. This is a staffing issue.