1,267 reputation
917
bio website
location
age
visits member for 4 years, 3 months
seen Apr 27 at 22:23

Sep
13
answered What complexity do DI frameworks add?
Sep
13
comment Why is Global State so Evil?
@Giorgio Once I started a question here by "State: This is an immutable class...". This obviously means "a snapshot of the state" and the state variable changes by pointing to different instances. But isn't this obvious? When we say "the current state" we also mean a fixed thing, right?
Sep
13
answered Should `setX(Object o)` methods perform deep or shallow copies of objects?
Sep
4
answered Logging Exception in multi-tier application
Sep
3
comment Is using Git Stash as a workflow an antipattern?
@MichaelT My local branch allows everything. Unconditionally.
Sep
3
comment Is using Git Stash as a workflow an antipattern?
@MichaelT For me stash is a big no no, as I tend to forget it sometimes (forgetting it once is bad enough). Committing locally some broken code with a proper message is much better as there's nothing what could be forgotten.
Aug
31
revised Using Mockito.reset
added 1199 characters in body
Aug
29
answered Proper OO design for State and Command
Aug
29
comment Using Mockito.reset
@AndresF. I'm mocking RequestResponse since I want it to do exactly what told to. My strange test is a sequence of setup + handle-call + test, repeated three times, i.e., actually three tests in one. Separating them means a lot of code duplication and still I need to put the data in somehow...
Aug
29
asked Using Mockito.reset
Aug
29
comment Is there any danger in writing raw bytes to a file?
I'd suggest to keep it simple. 256 different versions will suffice and if not, additional versions can be devised as subversions of version 255. Similarly for metadata, it's enough to add them in a the version when they're actually needed. @Joe Image??? You're avoiding the potential format confusion by confusing everyone beforehand!
Aug
3
comment Why did memory-managed languages like Java, Javascript, and C# retain the `new` keyword?
@AndresF. Or even simpler with Person me being nil and Person me() invoking the default constructor. So you'd always need parentheses in order to invoke anything, and thus get rid of one C++ irregularity.
Jul
28
comment What's the easiest way to comply with open source licenses?
@RobertHarvey I wouldn't consider it acceptable to put meta-commentary in others' question. I also don't consider it acceptable to remove it from others' questions. I'd be OK to remove the first sentence (which I agree is misplaced there), but not so for the following as it also explains why the question is not more detailed.
Jul
19
awarded  Promoter
Jul
18
revised What's the easiest way to comply with open source licenses?
added 364 characters in body
Jul
17
asked What's the easiest way to comply with open source licenses?
Jul
9
awarded  Popular Question
Jul
2
awarded  Curious
Jun
25
answered Is template “metaprogramming” in Java a good idea?
Jun
18
comment Why was C# made with “new” and “virtual+override” keywords unlike Java?
I fully agree with you.