Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Fear Of Wide Monitors

Fear Of Wide Monitors

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiotoolshelpquestion
36 Posts 22 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D dandy72

    I wasn't implying I print a lot of code. Given the number of monitor sizes/resolutions, I decided I had to settle on *something*, so a printed sheet of paper seemed to make sense to me at a time. Having to scroll code horizontally, just because I happen to occasionally be on a smaller display, is a tremendous hassle (I know, first-world problem)...so even the crappiest display I might be stuck using will probably be wide enough to show at least one file without scrolling.

    S Offline
    S Offline
    snorkie
    wrote on last edited by
    #14

    Fair enough. To tackle this issue, I use word-wrap. I essentially have the same environment on any monitor without having to perform any special formatting. I find the extra wrapping of code harder to read, but it sounds like I'm in the minority. Hogan

    D 1 Reply Last reply
    0
    • S snorkie

      Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #15

      Some monitors can be turned 90 degrees, so you can see a lot of lines, after changing the display mode :rolleyes:

      Press F1 for help or google it. Greetings from Germany

      D 1 Reply Last reply
      0
      • S snorkie

        Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

        M Offline
        M Offline
        markus_code
        wrote on last edited by
        #16

        My "coding monitor" is rotated 90°. With short lines (my Vim configuration breaks them at 80 characters) I can still have 2 files in a vertical split and see their full horizontal contents. It works very well if you also use a terminal (I use tmux) that allows splits, since you can have a small window at the bottom for builds, or htop, or both :)

        1 Reply Last reply
        0
        • S snorkie

          Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

          K Offline
          K Offline
          Kiriander
          wrote on last edited by
          #17

          I love wide monitors, but I don't use the width for code. Instead, I use half the width for code and the other half for let's say documentation. Or the dubugee. Or something else.

          1 Reply Last reply
          0
          • S Slacker007

            I love ReSharper but I have to change a few things in the config options; max characters on a line is one of them. Eventually, all code will be written, one character per line.

            S Offline
            S Offline
            SortaCore
            wrote on last edited by
            #18

            They worked out you can read faster with one word displayed at a time. So why not apply that to code too? Go through hundreds of lines in a few minutes and hope your instincts are attentive enough.

            S D 2 Replies Last reply
            0
            • S snorkie

              Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

              U Offline
              U Offline
              User 10437904
              wrote on last edited by
              #19

              The human eye gets tired easily when being forced to scan across wide spans of text. That's why newspaper and magazine articles are split into columns.

              S 1 Reply Last reply
              0
              • J jschell

                snorkie wrote:

                The more source code I look at, the shorter the lines seem to get

                My wide monitor is wide enough that if I have two source files open side by side then I can see both. If the lines are short enough. If I see source code where most lines require a wide monitor to see them (or to scroll) I would expect that the source code has a problem.

                snorkie wrote:

                How do those developers deal with paperback books?

                The random paperback book that I just picked up an counted one line had 54 characters. Rather certain that I have never read a paperback that had, say, 120 characters in a line. So not sure where your comment is going.

                M Offline
                M Offline
                MKJCP
                wrote on last edited by
                #20

                I believe the point was if you can comprehend many characters per line in other media, why not in code. Paperback was a bad example but much written text has 100+ characters per line. Put another way, inability to read long code lines does not seem like the cause of short code lines.

                J 1 Reply Last reply
                0
                • U User 10437904

                  The human eye gets tired easily when being forced to scan across wide spans of text. That's why newspaper and magazine articles are split into columns.

                  S Offline
                  S Offline
                  snorkie
                  wrote on last edited by
                  #21

                  Maybe I'm not human... :-\ Hogan

                  1 Reply Last reply
                  0
                  • S SortaCore

                    They worked out you can read faster with one word displayed at a time. So why not apply that to code too? Go through hundreds of lines in a few minutes and hope your instincts are attentive enough.

                    S Offline
                    S Offline
                    snorkie
                    wrote on last edited by
                    #22

                    Thanks for the link, that was cool! I was surprised I could easily do the 700 WPM. Though that might be a bit more difficult with code. Was that one { or three? Hogan

                    1 Reply Last reply
                    0
                    • S SortaCore

                      They worked out you can read faster with one word displayed at a time. So why not apply that to code too? Go through hundreds of lines in a few minutes and hope your instincts are attentive enough.

                      D Offline
                      D Offline
                      Dan Neely
                      wrote on last edited by
                      #23

                      Too lazy to find them now; but that's been thoroughly trashed (from the good idea standpoint) by experts in reading/comprehension in that what it mostly does is prevent you from doing all the extra processing needed to correctly understand non-trivial sentence structure or anything that requires thought.

                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                      1 Reply Last reply
                      0
                      • S snorkie

                        Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                        Y Offline
                        Y Offline
                        Ygnaiih
                        wrote on last edited by
                        #24

                        I actually have and like a wide monitor. I do break up a line when something in that line is more readable in a second line. I do this often in SQL like: … From tblMain m Left join tblPoop p On m.thing = p. thing. That helps to tame the dyslexia for me.

                        1 Reply Last reply
                        0
                        • K KarstenK

                          Some monitors can be turned 90 degrees, so you can see a lot of lines, after changing the display mode :rolleyes:

                          Press F1 for help or google it. Greetings from Germany

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #25

                          VS is too sidebar centric to play nice at even 1200px wide; and while I have rotated my 3" 2560x1600 screen to portrait before, it's too tall to be comfortably used that way.

                          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                          1 Reply Last reply
                          0
                          • S snorkie

                            Fair enough. To tackle this issue, I use word-wrap. I essentially have the same environment on any monitor without having to perform any special formatting. I find the extra wrapping of code harder to read, but it sounds like I'm in the minority. Hogan

                            D Offline
                            D Offline
                            dandy72
                            wrote on last edited by
                            #26

                            snorkie wrote:

                            To tackle this issue, I use word-wrap

                            <shudder>

                            snorkie wrote:

                            it sounds like I'm in the minority

                            Probably. :-)

                            1 Reply Last reply
                            0
                            • S snorkie

                              Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                              K Offline
                              K Offline
                              KLPounds
                              wrote on last edited by
                              #27

                              Its an optimizing cash cow for those who get paid per line of code.:thumbsup:

                              1 Reply Last reply
                              0
                              • S snorkie

                                Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                                P Offline
                                P Offline
                                patbob
                                wrote on last edited by
                                #28

                                The resolution of monitors has dropped in recent years -- there was a huge backward reset when HD TVs came out and all the manufacturers retooled for producing flat panel TVs.

                                We can program with only 1's, but if all you've got are zeros, you've got nothing.

                                1 Reply Last reply
                                0
                                • S snorkie

                                  Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                                  V Offline
                                  V Offline
                                  vtokar
                                  wrote on last edited by
                                  #29

                                  There exists an optimum ratio between the linewidth and the interline spacing. I do not know its exact value but it is defined by the ease of following with the eyes the line and then switching to the next one. This is why the newspapers are printed in narrow columns instead of across the page.

                                  S 1 Reply Last reply
                                  0
                                  • V vtokar

                                    There exists an optimum ratio between the linewidth and the interline spacing. I do not know its exact value but it is defined by the ease of following with the eyes the line and then switching to the next one. This is why the newspapers are printed in narrow columns instead of across the page.

                                    S Offline
                                    S Offline
                                    snorkie
                                    wrote on last edited by
                                    #30

                                    Several people have mentioned the newspaper example. Its interesting, but code isn't a newspaper article. Rarely do I have several long lines in a row that require wrapping. Most code I see has tons of white space around lines of code for formatting/readability. Hogan

                                    1 Reply Last reply
                                    0
                                    • S snorkie

                                      Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                                      R Offline
                                      R Offline
                                      RASPeter
                                      wrote on last edited by
                                      #31

                                      At my company our coding standard strongly discourages formatting code that way. We frequently deal with XAML and Win32, so that means we sometimes have really long lines, but that's just how it goes. It's really rare that anyone needs to actually see the entire line at once. Normally there are just a few items that actually matter, so we try to put those near the beginning of the line when possible (things like Name and Grid.Row/Column in XAML, for example). Generally, we find it much more useful to be able to get a sense of the structure of the code at a glance, and that gets broken when function calls are split into multiple lines. There are some rare cases where it makes sense to do that, of course, but that's stuff like building an xml file using stringstream.

                                      1 Reply Last reply
                                      0
                                      • S snorkie

                                        Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                                        R Offline
                                        R Offline
                                        rtpHarry
                                        wrote on last edited by
                                        #32

                                        I guess the new limit is that it can fit on a GitHub page :)

                                        1 Reply Last reply
                                        0
                                        • S snorkie

                                          Is it just me, or are developers becoming afraid of wide monitors? The more source code I look at, the shorter the lines seem to get. Tools like ReSharper only seem to exacerbate the issue. Code that would easily fit on one line now takes up two or three. How do those developers deal with paperback books? Is this common outside of the Visual Studio world? Hogan

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #33

                                          I gave up Visual Studio this year for vi. 80 column lines means I can get six terminal windows open on my 30" monitor and never need to scroll horizontally

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups