News for hackers. Stuff that matters.
Re:Don't link to line numbers in GitHub by Anderkent on Thursday July 17, 2014 @08:53AM (#8047189)
Not what he said in the title though. Should be "don't link to non-canonical urls on github", line numbers are irrelevant.
Re:Don't link to line numbers in GitHub by lamby on Thursday July 17, 2014 @09:10AM (#8047278)
We're meant to read more than the title nowadays?
Re:Don't link to line numbers in GitHub by kbenson on Thursday July 17, 2014 @10:16AM (#8047630)
Like the original comment, my original thought was that it was probably something to do with people referring to line numbers on HEAD. A less link-bait title that confirmed this would have allowed me to easily skip this this article which, for my purposes, was useless.
Re:Don't link to line numbers in GitHub by Alupis on Thursday July 17, 2014 @11:02AM (#8047901)
This seems glaringly obvious.

If you statically link to a specific line number, and if your source code changes, then your static link may not point to the same code... duh?

Re:Don't link to line numbers in GitHub by nullsoldier on Thursday July 17, 2014 @12:05PM (#8048274)
I actually feel that the post isn't even just about people who don't know that linking to a line number in a changing file will result in incorrect information later. I think it's more that when people link to code, they think it doesn't matter, so it's not something they actively care about. So they don't take the extra time to link to the actual commit since it's not a thing they care about.

I feel the authors real value in their article is a call for people to care about correcting their links for programmers in the future. The article would be better served to say, "Why you should care about linking in time to your GIT repo"