12,564 reputation
11746
bio website
location
age
visits member for 2 years, 11 months
seen 3 hours ago

6h
comment Is randomly refactoring code allowed in scrum
No amount of tests makes refactoring completely safe. SQLite is one of the most tested pieces of software, with total branch coverage, yet they still do emergency bugfix releases all the time.
17h
comment Where to put sample data in project structure
@user1893354: At the same level as src. It is not a source.
19h
answered Where to put sample data in project structure
Aug
26
comment Are C++ templates just a kind of glorified macros?
Scheme starting with R5RS switched from full Lisp-style macros to the "hygienic" macros that are weaker than full Lisp-style macros. I suspect they are so much weaker they are actually even weaker than C++ templates.
Aug
26
comment In which stage of compilation is “typedef” resolved by the compiler?
Well, @Basile, there are many languages that are context-free. Usually those with trailing type annotations like Pascal. But you are right that C and C++ and languages that follow their syntax are not.
Aug
26
answered In which stage of compilation is “typedef” resolved by the compiler?
Aug
22
revised Started wrong with a project. Should I start over?
Accepted most SamtheBrand's suggestions except few that changed meaning and reinstated the rather important paragraph about including essential refactoring in your estimates.
Aug
22
revised Started wrong with a project. Should I start over?
rolled back to a previous revision
Aug
21
revised Augmenting functionality of subclasses without code duplication in C++
added 4 characters in body
Aug
21
comment Augmenting functionality of subclasses without code duplication in C++
@RobW: Mixin is any template that you inject into the inheritance chain.
Aug
21
revised Augmenting functionality of subclasses without code duplication in C++
added 4 characters in body
Aug
21
answered Augmenting functionality of subclasses without code duplication in C++
Aug
21
comment What would you call the concept of CofeeScript or Sass to be?
You are parsing the sentences wrong. "CofeeScript derived language" means "language that is derived from CoffeeScript" and "CSS extension language" means "language that extends CSS". The only word that can stand on it's own is language.
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
@Mehrdad: And they could have written it in C instead and perhaps ran it on 20 servers instead of 25. But they didn't because the saving would not outweigh the increased development time. Many web services are implemented in Python and PHP, some of the slowest languages in general use, yet nobody thinks of rewriting them in anything faster because the increased development time would not pay off. Constant factors are most of the time solved by just throwing more hardware at it. Scaling (asymptotic) problems is another matter of course.
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
Actually most constant factors are better solved by throwing more hardware at the problem, because more hardware is usually cheaper than more time optimizing the thing. The problem is bad asymptotic (scaling) behaviour, because throwing more hardware won't help much with that.
Aug
15
awarded  Nice Answer
Aug
14
comment How come centralized source control solutions don't do branching in place
Perforce and subversion (which copied it from the former) are special in using directories (in repository) to do branches. Other centralized systems have a separate branch concept and one distributed (though I would only call it decentralized) system, svk, uses directories for branches too.
Aug
14
comment How come centralized source control solutions don't do branching in place
-1. I disagree with about every other word of this. Subversion definitely isn't around that long. First release was 2000, which is the same year as BitKeeper and 7 years after early distributed experiment called Aegis. Distributed systems were invented to support the process people were already doing with tarballs and patches and had nothing to do with Subversion. And the only new feature Linus introduced with git was speed. He already used imrproved branching and distributed storage in BitKeeper and the git model follows monotone, only it is (or was by that time) slow there.
Aug
14
answered How come centralized source control solutions don't do branching in place
Aug
14
comment How come centralized source control solutions don't do branching in place
Subversion was able to switch branches in a checkout since early versions using svn switch.