1,411 reputation
47
bio website johansens.us
location Michigan
age
visits member for 3 years, 3 months
seen Sep 29 at 13:17

Aug
26
awarded  Yearling
Dec
31
comment What is negative code?
@Synetech Sure, brevity achieved by using some obscure construct is not a plus. But brevity achieved by eliminating redundant code is a huge plus. Brevity achieved by eliminating code that is never executed is a big plus too. Brevity achieved by simplifying the algorithm requires case by case analysis: If by simplifying it you have made it easier to understand but take longer to run, that could go either way.
Dec
31
comment What is negative code?
A more serious analogy would be that measuring software productivity by lines of code is like measuring progress on an auto repair job by counting the number of grease rags used. This could be accurate to an extent: the more work the mechanic does, the more grease rags he'll use. But it counts mistakes and wasted effort as much as effort that actually leads to a goal, and a big mistake -- like accidentally breaking an oil line and having to clean up a huge mess -- gets counted as major progress when it's really the opposite.
Aug
26
awarded  Yearling
Aug
26
awarded  Yearling
Dec
27
awarded  Nice Answer
Aug
27
awarded  Nice Answer
Aug
26
awarded  Mortarboard
Aug
26
awarded  Good Answer
Aug
26
awarded  Teacher
Aug
26
awarded  Nice Answer
Aug
26
awarded  Nice Answer
Aug
26
comment What is negative code?
@Nav: Reminds me of a similar story that begins the same way. Then the coach throws a ball in the air, swings and misses. He throws it in the air again, swings and misses. He throws it in the air a third time, swings and misses. Then he says to the team, "See, THAT'S how you should be pitching!" (I have no idea what this story might have to do with software development.)
Oct
19
answered What is negative code?
Mar
31
answered How to suggest changes as a recently-hired employee?
Sep
24
answered Most regrettable design or programming decision you made?
Aug
3
answered What do you consider the 1st principle(s) of programming?