3,711 reputation
11221
bio website
location
age 34
visits member for 3 years, 7 months
seen Jul 7 at 19:30

May
28
comment Does it make sense to write build scripts in C++?
I liked SCons, it'a bit slow but very easy to use.
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
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
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.
Apr
2
comment How to learn the math behind the code?
I'm personally a bit disappointed by this question being closed. Even if it skirts the rules a bit, it's worth to keep to encourage a young kid to study maths & programming.
Apr
2
comment How to learn the math behind the code?
-1 for GEB: it's long and overdrawn, it will sap the OPs stamina and possibly discourage him from maths. There are much better books out there.
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
comment Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?
Can you provide links to back up your statements?
Mar
22
comment Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?
"On server market Linux absolutely dominates with 70-90% of share depending on the segment." Where's proof for that?