Reputation
1,045
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 8 17
Newest
 Cleanup
Impact
~28k people reached

  • 0 posts edited
  • 0 helpful flags
  • 179 votes cast
Apr
20
comment When should you use bools in C++?
It's not about "know when to use bool", it's about why do we have different names for similar types (like length_t) and why it's important that compiler checks types.
Apr
13
comment What's the difference between recursion and corecursion?
@HighPerformanceMark, it doesn't explain what corecursion is, we need another question
Apr
5
comment Intel mnemonic to machine code converter library
@Frederick, DLL? You can try Wine.
Apr
5
comment Function parameter names
@Vic, I don't think it's such a big deal. The first parameter have a decent name, so the second could be named so poorly just by occasion.
Apr
5
answered Function parameter names
Apr
5
answered Intel mnemonic to machine code converter library
Apr
5
comment Command-Query-Separation and multithreading safe interfaces
@TobiasLangner, no, you still don't get the point. There is StackAndLock which contains actual stack object, and ThreadSafeStack which provides thread-safe access to that stack. Thus, different threads access one shared Stack object via their local ThreadSafeStack objects.
Apr
4
comment Command-Query-Separation and multithreading safe interfaces
who is that "someone else"? please read it again, every thread has its own ThreadSafeStack, it's not shared across multiple threads.
Apr
3
answered Command-Query-Separation and multithreading safe interfaces
Apr
3
awarded  Populist
Apr
2
awarded  Good Answer
Apr
2
comment Is the 'C' in MVC really necessary?
It's not the OOP-way to have data objects and procedures manipulating them. And it's not the SOLID way to have a Controller which knows about everything and do everything.
Apr
2
awarded  Nice Answer
Apr
2
answered Why not write all tests at once when doing TDD?
Mar
28
comment What do you use macros in your editor for?
by hands, it's to press ctrl-h and replace ":" with ":\r\n", then replace ";" and "break;"
Dec
23
comment Should unit test expected results be hardcoded?
isn't it duplication of SUT code?
Dec
20
comment Resources on learning to program in machine code?
"People don't program in C (...). They use modern languages, perhaps with C backend"
Dec
10
comment Why is cleverness considered harmful in programming by some people?
@dsimcha, not "lowest" but "average". Complexity is relative thing, so your "cleverness" can make code not-understandable for most of your co-workers. For example, in C\C++ (sic!) you can use classes and CRTP to remove duplication, but if your co-workers like write in C-style and don't get classes and templates, your cleverness won't bring anything good to project. Replace CRTP with boost.MPL if you think that CRTP is too easy.
Dec
8
comment Is CRTP used much? and why it is/isn't?
Yep, whole STL is a big hack.
Dec
8
awarded  Critic