Reputation
37,448
Next tag badge:
121/100 score
19/20 answers
Badges
5 76 138
Impact
~1.6m people reached

Apr
5
answered Determining the optimal amount of unit tests?
Apr
4
comment Gradually move codebase to dependency injection container
@damluar a class does not become untestable just because it relies on a utility class. It just means your unit is slightly bigger than you want it to be. If you can test your utility class by itself, then you can use it in tests for all other 30 classes without worry. Read Martin Fowlers blog about unit testing.
Mar
31
comment How do you share your craft with non programmers?
Someone said that they were building mechanical slaves, after yet another customer "issue", I feel like we're the slaves and we are building mechanical dystopias for ourselves to live with.
Mar
31
comment How do you share your craft with non programmers?
@Alison and the doctors that try 'building new systems' with their clients usually get struck off
Mar
31
answered Lock threads or not lock threads?
Mar
30
comment Workflow: Using binary document formats in Git without locks (moving from subversion)
Linux and Mac text files don't have lines either according to your definition :-) deltas can be created for binary files just as easily. You decide on a different algorithm. SVN for example creates nice, small deltas just fine for binary files (at least with large .dll files which is what I have most experience with)
Mar
30
answered Communication between microservices - distinguishing internal calls safely
Mar
29
answered Re-releasing LGPL code as AGPL : need advice on how to phrase license
Mar
29
comment Re-releasing LGPL code as AGPL : need advice on how to phrase license
@Brian not 100% correct - FFmpeg is licenced under the LGPL, but some (optional) parts are GPL.
Mar
29
comment Client-Server app architecture with custom communication protocol
put common code in a library. That's what libraries are there for.
Mar
29
comment Is there a better way to debug while avoiding getters/setters?
Check your compiler, some will allow breakpoints on memory locations. MSVC will do this but you will have to reset the breakpoint to reflect the actual memory location every run, and its much slower.
Mar
29
comment Is there a better way to debug while avoiding getters/setters?
you use methods and hide all variable access behind them. It is still bad practice to have a method that exists just to expose a single variable however.
Mar
29
answered Is there a better way to debug while avoiding getters/setters?
Mar
29
comment Should we “balance” the amount of codes between headers and cpp?
The committee doesn't meet anywhere near me. I was referring to modules support. I don't think standardising things like that would affect much legacy code at all, but easier compilation and "packaging" would make a huge difference. I did once try to explain why an ABI would be a good thing to Bjarne but he simply dismissed it as difficult to get the compiler makers to co-operate.
Mar
29
comment Should we “balance” the amount of codes between headers and cpp?
extremely disappointed the C++ committee doesn't want to look at the toolchain over obscure language features.
Mar
24
answered Exploiting creativity with “free time”
Mar
24
comment REST: Can I use POST request to read data?
see stackoverflow.com/questions/978061/http-get-with-request-body
Mar
24
comment Team constantly fails to meet sprint goals
The thing is, "success" in creating a product is never measured in terms of how much spare time you had at the end of a fortnight. If at the end of each sprint, you delivered working software, then the excess stories you planned into the sprint are irrelevant. They'll be picked up next sprint, so what! You're defining your team's success solely by how well they are fitting to the bureaucracy of the methodology. That is not Agile. @bmarguiles has it right - scrum is a guide, not holy scripture.
Mar
23
answered How to generate C++ code? (probably WITH (not FROM) Python)
Mar
23
comment Logging into text file or database?
You might also want to include syslog daemon and SNMP log destinations.