The Last Line Effect
viva64.com
The Last Line Effect
1–10 of 27 posts
Re: The Last Line Effect
#2Re: The Last Line Effect
#3In retrospect, I've had quite a few of these - once pointed out as a pattern, it's fairly easy to see it's a "thing".
I wonder what sort of IDE or other tooling could be put in place to hint those errors out of existence.
Re: The Last Line Effect
#4This is really interesting. I just looked over some code I wrote this morning. There were 2 LLE errors. I'm sure I would have caught them in testing after lunch but, woah. For the life of me, I can't reconstruct my mental state when I edited those code bits though, so I don't know what the root of the error is. I think now though, I'll be on the lookout and perhaps gain some insight. In retrospect, I've had quite a f…
Re: The Last Line Effect
#5* People make mistakes in any line, but they often unconsciously review them and spot the mistake while they're writing the next line. In the case of the last line there's no such automatic review.
* (plausible in some of the examples, not all of them) The last line was added by copy–paste at a later date than all the others.
Re: The Last Line Effect
#6This is really interesting. I just looked over some code I wrote this morning. There were 2 LLE errors. I'm sure I would have caught them in testing after lunch but, woah. For the life of me, I can't reconstruct my mental state when I edited those code bits though, so I don't know what the root of the error is. I think now though, I'll be on the lookout and perhaps gain some insight. In retrospect, I've had quite a f…
Re: The Last Line Effect
#7Re: The Last Line Effect
#8An increased number of errors on "return" lines.
Which naturally should be more frequently last lines than otherwise.