Reputation
659
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 9
Newest
 Nice Answer
Impact
~35k people reached

  • 0 posts edited
  • 0 helpful flags
  • 85 votes cast
Apr
13
comment How do you unit-test code using graphs?
What you describe sounds more like integration testing and not like unit testing. Unit tests would make sure that a method is able to find the circles in a graph. Other unit tests would make sure that a specific circle of a specific graph is handled by the class under test.
Mar
20
comment What is the name of a function that takes no argument and returns nothing?
I think that the javadoc for Runnable is outdated at this point, because a Runnable is also used by other classes than Thread(Executor for example).
Feb
7
awarded  Nice Answer
Jan
30
comment How does one keep argument counts low and still keep third party dependencies separate?
related: What is an Anti-Corruption layer, and how is it used?
Dec
4
comment Securing sensitive data from developers
@ClintonBosch Then you haven't clearly separated the roles of admins and developers. Then also one more question you should ask yourself is: how do we make sure that the software that is released also gets actually deployed? You would need to sign on release and only allow deployment of signed packages on production. Also again automation is your friend. Migrations shouldn't require any manual steps.
Dec
4
answered Securing sensitive data from developers
Nov
26
comment Should I accept empty collections in my methods that iterate over them?
Are you sure your assumption "if somebody is calling this method, then they intend to pass data in" is correct? Maybe they are just passing what they got at hand to work with the result.
Oct
8
comment In domain driven design, how do I convert a database table with a primary key into a Value Object?
Making an email address a useable value object can be very difficult, because testing email addresses for equality is not that easy and probably testing postal addresses isn't either.
Sep
2
awarded  Yearling
Aug
15
comment How to implement a no-login authentication system
Thanks for letting me know this. Looks really nice.
Jun
30
answered Is it good practice to declare and set properties in abstract classes?
Nov
18
comment What is the benefit of switching on Strings in Java 7?
But then a Map in combination with the command pattern would even yield more readability with the same complexity because you have the extra type of the command
Nov
13
awarded  Necromancer
Nov
4
revised Advice on designing web application with a 40+ year lifetime
added 222 characters in body
Nov
4
answered Advice on designing web application with a 40+ year lifetime
Oct
11
answered Algorithm to Find the Aggregate Mass of “Granola Bar”-Like Structures?
Oct
11
revised good replacement for commenting out code?
added 14 characters in body
Oct
10
comment good replacement for commenting out code?
@RobinGreen The abstraction I'm talking about may also be a configuration profile for each different requirement set.
Oct
8
comment good replacement for commenting out code?
I think you might end up in branch hell when requirements change very often. A branch is very difficult to maintain because it is out of focus of everyone and it gets outdated very fast.
Oct
8
answered good replacement for commenting out code?