Reputation
14,120
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 21 50
Newest
 Enlightened
Impact
~371k people reached

Jan
9
revised Using Ubuntu for commercial software development
added 4 characters in body
Jan
9
revised Using Ubuntu for commercial software development
deleted 1 characters in body
Jan
9
answered Using Ubuntu for commercial software development
Jan
8
comment Use null object as argument to method
@KarlBielefeldt: Of course. But cleanest code in C++ does not have virtual all over the place.
Jan
8
comment Use null object as argument to method
This is a good technique in fully polymorphic language like Java, but in C++ polymorphism is often not the preferred approach. E.g. the virtuals are more likely slower than the null pointer check.
Jan
8
comment Where to place configuration files sources
@Alexanderius: Configurations changes rarely, but when they do, you always need to use current configuration even for old versions. So the configuration should be stored in the environment it describes.
Jan
7
answered Can I rename a portion of code released under Apache 2.0?
Jan
6
revised Private comments in git
added 37 characters in body
Jan
6
comment Private comments in git
@DocBrown: Yes. But the problem with comments in code is that they invariably remain there even when the code is refactored. And such comment is actually worse than no comment, because it becomes actively misleading.
Jan
6
answered How to include license for MIT-licensed CSS?
Jan
6
answered Private comments in git
Jan
6
revised Private comments in git
added 220 characters in body
Jan
6
answered Private comments in git
Jan
4
comment Can only integers be stored as register variables?
@Yousaf: That it depends on the platform, compiler, compiler options and exact piece of code. It's best left up to the compiler to decide.
Jan
3
comment Using std::sort et al. with user-defined comparison routine
Nor can I imagine an implementation of sort that would run out of bounds on invalid comparison function. Normal implementation of either quick sort, merge sort nor heap sort can't do that.
Jan
3
comment Using std::sort et al. with user-defined comparison routine
What implementation of std::sort is that? I've had my share of bugs in comparison operators, but the only think I've ever got from std::sort was an assertion, never segfault and never endless loop. True, you don't want assertion either.
Jan
3
revised Can only integers be stored as register variables?
added 80 characters in body
Jan
3
comment Can only integers be stored as register variables?
@delnan: The fact that they use heuristic algorithm does not change the nature of the problem itself and the heuristic is still based on the mathematical apparatus around graph colouring. Since the problem is NP-complete, I don't think any compiler searches exact solution; it would be too expensive.
Jan
3
answered Can only integers be stored as register variables?
Jan
3
revised What does the Apache licensing mean by “Permitted: Commercial Use”
added 4 characters in body