Hacker News new | ask | show | jobs
by psykovsky 4150 days ago
>> Right, wonderful, we could see how your story developed, if you had used line wrapping in your text editor. As is this diff is not at all informative.

https://github.com/mcwm/novel_story/commit/e50c8ca7c583a6599...

2 comments

Github can do better with word highlighting [0]. However, I checked a few of my own commits and this seems to be unreliable. I very rarely view diffs on Github, so I do not really care. Maybe someone who uses it more ca comment how good the word highlighting works.

[0] https://github.com/blog/1885-better-word-highlighting-in-dif...

It seems like an interesting question: which would be the ideal unit for diffing? For software we just use the line of code, but for prose perhaps it would be by sentence? Should the VCS notice when sentences are transposed? It seems there could be more tool development in this area...