3,805 reputation
11324
bio website
location
age 34
visits member for 4 years, 4 months
seen Mar 29 at 17:22

May
21
answered Why no fortran standard library?
May
21
comment Why I'm not selected in an interview?
I guess because you suck.
May
16
comment Commented short fancy code vs. uncommented longer easy-to-understand code - which is preferred?
@MichaelBorgwardt I wouldn't apply Kernighan's dictum blindly to every possible situation. The OPs example is a function written "as cleverly as possible" (or close to it) and yet it should be pretty easy to debug, if any debugging is needed. On the other hand, complicated bit-twiddling oneliners can be very clever, but will certainly be even harder to debug. (Also: Kernighan assumes that coding skills = debugging skills. It doesn't have to be the case. I've successfully debugged code I would not have been able to write.)
May
16
comment What would be the Impact of P=NP?
Of course the constant factors might be so large to make this just a theoretical problem... for some time.
May
16
comment Commented short fancy code vs. uncommented longer easy-to-understand code - which is preferred?
"The problem with the short version of the code, aside from it being more difficult for some programmers to read" -- any piece of code can be hard "for some programmers" to read. You just need to find stupid enough programmers. Don't dumb down the code to the lowest denominator.
May
14
comment Would “Efficient C++” book be irrelevant now due to compiler improvements?
You may find this helpful: en.wikibooks.org/wiki/Optimizing_C%2B%2B
Apr
30
comment At what point during a project is it unreasonable to leave?
If you are a "numero uno" employee, than you were certainly offered a contract with a long (e.g. three months) notice period for termination of employment on both sides, and the question is easy to answer: leave after three months. Oh, you weren't offered this? Guess they don't need the security of your services that badly.
Apr
27
comment Completion time on a company where the supervisors don't know programming
The answer is good. Programmers don't like playing such games, but that's how the world works.
Apr
14
awarded  Nice Answer
Apr
5
comment “// …” comments at end of code block after } - good or bad?
+ long switch statements.
Apr
5
comment “// …” comments at end of code block after } - good or bad?
@trinithis What if you have 20-case switch statement? Sometimes you need to support 20 different options, and it's better to have them gathered in one place than "refactored" into some multi-level decision-making scheme.
Apr
5
comment Does it make sense to write build scripts in C++?
I love Maven -- the script needed to build a "Hell World" C program is longer than the program!
Apr
3
comment What does the latest “C++ Renaissance” mean?
You didn't, but Sutter&friends do.
Apr
3
comment What does the latest “C++ Renaissance” mean?
@KonradRudolph So C++ is catching up to other languages. Great. Where's the revolution?
Apr
3
comment What does the latest “C++ Renaissance” mean?
The dominating position of C++ in quant finance is as much due to the merits of the language, as due to the technical conservatism of the banks.
Apr
2
answered Anyone code at a treadmill desk?
Apr
2
comment Can all code be represented as a series of Map / Filter / Reduce operations?
"here's a good intro on Joel On Software" -- which manages to confuse Fortran with Basic, so I wouldn't put much trust in other facts in it.
Mar
24
comment Are there serious companies that don't use version-control and continuous integration? Why?
A website for teenagers starting a band in a garage is written in the style of a coder working from their garage. Figures.
Mar
22
answered How would you know if you've written readable and easily maintainable code?
Mar
22
comment Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?
Can you provide links to back up your statements?