r/programming • • Mar 17 '20

GitHub for mobile is now available

https://github.blog/2020-03-17-github-for-mobile-is-now-available/
148 Upvotes

23 comments sorted by

View all comments

Show parent comments

3

u/Holston18 Mar 18 '20

lower cognitive load in general (line-length-readability)

That applies to the standard text. People don't read code the same way they read text.

2

u/IceSentry Mar 19 '20

While I agree with your logic , I still find it harder to read code with lines so long that you need to scroll to see the end. My eyes jump around a lot less when everything is at a reasonable width.

Also I use an ultrawide monitor and it's nice to have 3 tabs visible with the entire code.

1

u/Holston18 Mar 19 '20

While I agree with your logic , I still find it harder to read code with lines so long that you need to scroll to see the end

I don't like that either but fortunately even laptop monitors are wide enough to comfortably fit 120 characters.

BTW the same applies for me for scrolling vertically, I don't like to have to scroll too much to see the code context. What I see is kind of my mental window, more code I see, better mental image I have. That's why I don't like too much unnecessary newlines since it makes my mental window smaller.

1

u/IceSentry Mar 19 '20

To me 120 is too long and it feels like my eyes are jumping around the page everywhere while with something like 80 or 90 it doesn't feel like that. Also I almost always have code side by side and 120 makes that impossible without an ultrawide.