Reputation
822
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 4 13
Impact
~24k people reached

  • 0 posts edited
  • 27 helpful flags
  • 65 votes cast
1d
comment Dependency Management in the real world?
@coding4fun Whenever you start thinking "[Insert concept here] is the best for everything", that's the cue to take a step back and carefully analyze what your doing and why your doing it, or risk becoming a cargo cult programmer: en.wikipedia.org/wiki/Cargo_cult_programming. That said, DI is an insanely useful concept.
1d
answered Dependency Management in the real world?
Jul
9
awarded  Famous Question
Jul
2
awarded  Good Answer
Jul
1
comment What are the advantages of build scripts?
@JonasGröger Automation takes out one of the biggest variables: humans.
Jul
1
awarded  Nice Answer
Jun
29
revised What are the advantages of build scripts?
Fixed the quote source.
Jun
29
answered What are the advantages of build scripts?
Jun
12
answered How to maintain modularity in C?
Jun
5
comment Using only UI testing. Is that Ok?
(Old question, I know). What do you do if there's no UI? I regularly venture into the embedded world, where (if you're lucky), your display is a tri color LED. Often times, you don't even get that. Mmmmmm...black box debugging. Now THAT can really tie your colon into knots.
Jun
3
comment What should I know about C++?
When the only tool in your toolbox is C++, everything looks like a thumb....
Jun
3
awarded  Critic
Jun
2
revised What stops C from being compiled/interpreted/JIT'ed?
corrected type of code C compiles down to.
Jun
2
awarded  Informed
Jun
2
answered What stops C from being compiled/interpreted/JIT'ed?
May
15
comment Is micro-optimisation important when coding?
Those papers have proven to be EXTREMELY helpful in optimizing massive data processing (think image processing / machine visioning).
Apr
15
comment Two way communication between Form and plugins
When the user control gets focus (or some other trigger), the user control can raise a custom event and pass a data structure representing the menu items up to the parent. The user control will tell the main form what to place into the menu.
Apr
14
answered Two way communication between Form and plugins
Mar
12
awarded  Yearling
Mar
11
comment Is logging next to an implementation a SRP violation?
@Aitch To answer your question about unit testing: Do you mock the logger?, that is PRECISELY what you do. You should have an ILogger interface that defines WHAT the logger does. The code under test gets injected with an ILogger that you specify. For testing, you have class TestLogger : ILogger. The great thing about this is the TestLogger can expose things like the last string or error logged. The tests can verify that the code under test is logging correctly. For example, a test could be UserSignInTimeGetsLogged(), where the test checks TestLogger for the logged.