01:44 | GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Ping timeout: 240 seconds) | |
07:12 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
07:52 | <alkisg> 'morning vagrantc
| |
07:52 | Question... how do you feel about line breaks in .md files?
| |
07:52 | I was thinking "80 chars limit", but then I though this doesn't really help in .diffs, as sentences aren't line based like code is
| |
07:52 | So if one needs to insert a phrase, he'd have to rewrap the whole paragraph
| |
07:53 | So maybe it would make sense to use line breaks only at the end of sentences, and rely on the editors to soft-wrap them
| |
08:15 | <vagrantc> alkisg: not strongly opinionated, but probably prefer an 80 char limit as i sometimes work with smaller screens
| |
08:16 | <alkisg> vagrantc: are there any editors around that can't soft-wrap to 80 chars?
| |
08:21 | <vagrantc> alkisg: most worth thinking about do, but it usually doesn't look good inn my opinion ... but again, not strongly opinionated
| |
08:21 | <alkisg> OK, ty
| |
08:22 | <vagrantc> i do tend to find diffs actually harder to read with very long lines, also
| |
08:23 | e.g. a one-character change shows you only a single line change, and it might be hard to see the change
| |
08:23 | whereas, with shorter lines it becoems easier to read the diffs ... but it all depends
| |
08:23 | entire paragraphs changing have similar problems to very long lines in reading diffs
| |
08:25 | <alkisg> The example were it seemed like a better idea, was: I have a paragraph with 5 sentences, each one of them 5 lines long. If I have to change one sentence, I need to diff 25 lines, while with soft-wrapping, I would only change 1 very long line
| |
08:25 | (that would be the equal of 5 hard-wrapped lines)
| |
08:26 | But I too am not strongly opinionated
| |
08:29 | <vagrantc> i think long lines don't tend to show well in "git diff"
| |
08:29 | so i guess i'm getting more opinionated over time
| |
08:42 | <alkisg> Heh, I did a small test and long line diffs actually look better in `git diff` than multiline diffs to me; they show up fine in any terminal width, not just 80 chars terminals. I guess it's just a matter of taste.
| |
08:43 | I'll give it a test in the web site, just for the fun of it, and see if still like it better, compared to e.g. the man pages which will still be 80chars, after a few months...
| |
08:45 | * alkisg also notes that pluma doesn't have a decent "hard wrapper function" that can avoid wrapping URLs or other sensitive markdown syntax... | |
08:50 | <alkisg> The long-line diffs are highlighted better online as well... https://github.com/ltsp/ltsp.org/commit/e835f75c140ff13e3646082f84276c83648d59c9
| |
08:51 | E.g. if I rewrap a line, and add one word in the beginning, the long-line highlighter would show me that just one word changed, while with multiple lines, it would show me that many words in many lines were changed, due to wrapping
| |
08:51 | I think that's the most important argument in favor of long lines so far
| |
08:58 | vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 276 seconds) | |
09:31 | adrianor1 has joined IRC (adrianor1!~adrianorg@177.156.228.163) | |
09:32 | adrianorg has left IRC (adrianorg!~adrianorg@177.156.231.253, Ping timeout: 245 seconds) | |
09:36 | adrianor1 has left IRC (adrianor1!~adrianorg@177.156.228.163, Ping timeout: 246 seconds) | |
10:01 | adrianorg has joined IRC (adrianorg!~adrianorg@177.18.50.179) | |
13:08 | Nikoh77 has joined IRC (Nikoh77!~Nikoh77@79.9.135.148) | |
17:11 | alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, *.net *.split) | |
17:12 | alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg) | |
18:32 | woernie has joined IRC (woernie!~werner@p57A0E783.dip0.t-ipconnect.de) | |
21:15 | woernie has left IRC (woernie!~werner@p57A0E783.dip0.t-ipconnect.de, Remote host closed the connection) | |
21:31 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
21:35 | GodFather has joined IRC (GodFather!~rcc@173-26-73-22.client.mchsi.com) | |
22:09 | vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 252 seconds) | |
22:36 | Nikoh77 has left IRC (Nikoh77!~Nikoh77@79.9.135.148, Remote host closed the connection) | |
22:40 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
22:45 | GodFather has left IRC (GodFather!~rcc@173-26-73-22.client.mchsi.com, Ping timeout: 268 seconds) | |
23:02 | vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving) | |
23:36 | shored has left IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi, Read error: Connection reset by peer) | |
23:36 | shored has joined IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi) | |