Reputation
4,723
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 20 36
Newest
 Good Answer
Impact
~470k people reached

Apr
29
comment How much commenting is better for coding?
How often have I seen comment that describe something but the code doing something entirely different, or worst, just slightly different with some big ambiguities. As maintenance goes you will notice that code get fixed but comments remain unchanged making them slowly diverge over time. Comments are not evil, they serve a purpose, but they have a cost not immediately seen at the time of writing. Seeing this cost really comes with experience, before that a programmer really just runs on faith on what to comment and how.
Apr
20
answered How Do You Pull Something from a Release?
Apr
20
comment How Do You Pull Something from a Release?
though git does make branching much easier it is not a magic wand that makes merge complexity disappear. It will not resolve a poor architecture resolving in a lot of coupling between features. Even with a good architecture some interdependence is to be expected. Simply pulling out a changeset may work for the trivial cases but reality is often more complex than hello world examples.
Apr
20
comment How to use Subversion in conjunction with DTAP with several Scrum teams?
one does not always have the option to use git. Plus there are many cases where git just can't cut it. With large binary files for example, or very large source tree. I worked with TB sized source tree that were 10+ years old. Granted it was not the best layout and could have better been served by splitting it in multiple separate projects. The refactoring costs of this split alone were prohibitive.
Apr
20
answered How to use Subversion in conjunction with DTAP with several Scrum teams?
Apr
15
revised Using error numbers which only work on 64 bit servers: a bad idea?
added 3 characters in body
Apr
15
answered Using error numbers which only work on 64 bit servers: a bad idea?
Apr
15
comment Best way of writing comments in code
@gnat ... true dat. I tend to get a bit defensive towards the new guys. That said a bit of google-fu level 1 could easily have found good answers without ever really asking out loud.
Apr
15
comment Best way of writing comments in code
To all the downvoters : I often see (very) green programmers wondering where and how to comment the code. Especially since it is often a requirement of the teacher asking for the assignment. I also often see these teachers asking that EVERY LINES be commented which the student sees as something that is very important to the art. In this context this question is VERY relevant if only to break this impending niagara falls of commented code and actually get it right. Doc Brown provide a good answer but Kilian's really drives it home with the example I think.
Apr
7
revised Supporting Multiple Java Versions in OSS Libraries
added 356 characters in body
Apr
7
answered Supporting Multiple Java Versions in OSS Libraries
Mar
3
comment Is this a violation of the Liskov Substitution Principle?
Great comment though I would agree that the Close method in the super class should check for CanClose and throw if it cannot, the sub-classes then only need to implement CanClose rather than both. Easier to use/implement + even more LSP compliant (still got my +1 regardless though)
Mar
3
comment Is this a violation of the Liskov Substitution Principle?
out is not available in all language, returning a tuple (or a simple object encapsulating the reason and boolean would make it better portable across OO languages albeit at the cost of loosing the ease of directly having a bool. That said, for languages that DO support out, nothing wrong with this answer.
Feb
18
reviewed Approve Find missing number in sequence in string
Feb
15
comment Why avoid Java Inheritance “Extends”
Thanks for the reference.
Feb
15
comment Why avoid Java Inheritance “Extends”
Could you provide an example ? I've never seen OO without inheritance.
Feb
4
awarded  Good Answer
Jan
21
awarded  Yearling
Jan
8
awarded  Necromancer
Dec
11
comment In C#, what is the benefit of assigning a class variable to an interface variable before calling any methods?
ha, indeed, easier to abuse than than operator overloading could create code with hidden surprises. With great power comes great responsibilities as said a famous philosopher !. thanks a million for the enlightenment. Will definitively go in my C# toolbox albeit under the use sparingly drawer (for now).