101 reputation
3
bio website
location
age
visits member for 2 years
seen Sep 4 at 12:31

a bharal is a wild himilayan mountain goat!

bleat!

developer specialising in Java work at IBs

currently building startup sites using cakePHP and Django (separately. There are two sites, not one!)


Sep
24
awarded  Autobiographer
Nov
1
awarded  Editor
Nov
1
revised Reverse subarray of an array with O(1)
removed complicated multiplying stuff that i'm not sure is right
Nov
1
answered Reverse subarray of an array with O(1)
May
15
comment Is it poor programming practice to pass parameters as Objects?
@MarjanVenema or curry, some might argue.
May
15
comment Is it poor programming practice to pass parameters as Objects?
i misread your second point as "a lot of unnecessary cats". I was going to query which cats would then be necessary but realised none of it made sense.
May
8
comment Is there a reason that tests aren't written inline with the code that they test?
@JuanMendes i disagree that "smaller files are something you're always looking for". What you're really looking for is "clear, easily maintainable code". The size of the file, then, is traditionally linked to this goal. BUT note that whether in one file or in 5000, you have the same amount of lines of code. There are times when i'd rather have one large file (spring config files, anybody?) and in the case of embedding test with prod, it might even make sense. But as others have noted, my main gripe is divvying coding from testing.
Mar
9
comment How can I sharpen my team player skills?
disagree. How can you prove you did anything agile at all?
Feb
26
comment Is there a reason that tests aren't written inline with the code that they test?
On the other hand, while i agree with your "separation of concerns" point, i agree from the point of view of minimising code clutter, not wrt having a developer write code but another test it. I still don't think that point 4. is valid - people look at implementation details all the time to write tests. That is, in fact, the heart of TDD.
Feb
26
comment Is there a reason that tests aren't written inline with the code that they test?
The answer i'd probably give would be code clutter, which isn't much of an answer. I'm not sure about the machismo thing - i'm not arguing for build conflicts. On the other hand, i honestly don't think that keeping files small because of a fear of code conflicts is reason enough.
Feb
26
comment Is there a reason that tests aren't written inline with the code that they test?
would downvote if i could. How is this an answer in any way at all? Implementers not writing tests? People skipping tests if they look at implementation details? "Just too hard" Conflicts on big files?? ANd how in any way could a test be confused with an implementation detail???
Feb
6
comment How can I deal with a team member who dislikes making comments in code?
always had a problem with that book's approach. Comments can be v. useful in explaining a business process/logic (or why) that no amount of clean code can.
Jan
10
awarded  Supporter