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. How wide is your code?

How wide is your code?

Scheduled Pinned Locked Moved The Lounge
questiondiscussion
68 Posts 41 Posters 3 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.
  • G GeorgeMayfield

    The guides are cool. Thanks George

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #61

    No problem. :)

    Luc Pattyn [Forum Guidelines] [My Articles]


    The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


    1 Reply Last reply
    0
    • C charlieg

      You young'uns ar spoiled by modern technology. I'm one of those old geezers still writing code, dangerously close to the 3 decade mark. I think John Simmons is older than me. He's angrier, i'm more dangerous ;) So, I'm contemplating a couple of s/w issues and one of those is - when to hit the return key? As I type this, I have to my left a 1920x1200 monitor connected to my 1920x1200 laptop. It seems to me a little silly to worry about any developer who might not have the same h/w rsources. To arbitrarily linebreak at 80, 132, or whatever seems a bit silly. Printing? Muahahahaaha.. come on. Thoughts?

      Charlie Gilley Will program for food... Hurtling toward a government of the stupid, by the stupid, for the stupid we go. —Michelle Malkin This crap sandwich is all yours.... 2009 "Stimulus Bill"

      C Offline
      C Offline
      CDMTJX
      wrote on last edited by
      #62

      Young 'uns?? :confused: Mature programers like printouts, multiple sheets spread out, and mark them up to understand changes needed to be made. Not to mention folks with bifocals (even fancy transition without the lines) don't like tiny print on their screens. I don't like "wide" code, beyond 100 or so characters becomes hard to read.

      1 Reply Last reply
      0
      • B blackjack2150

        Me too. Though, they are in xsd.exe auto-generated code files, based on xml schema files. A pain when I need to use those in my client code...

        G Offline
        G Offline
        Gary R Wheeler
        wrote on last edited by
        #63

        The worst offenders for me are some resource ID's in my native code for STRINGTABLE resources:

        #define IDS_Msg_Tnc_PageCorrelationSensor1PatternDifferenceExceeded 1243

        Software Zen: delete this;
        Fold With Us![^]

        1 Reply Last reply
        0
        • H Henry Minute

          Another useful registry hack is: Under the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0 key, you can create a DWORD UseMRUDocOrdering = 1. What this does is, when you select a tab in the editor, that tab moves to be the leftmost tab. This obviously keeps the most recently used files/designers visible in the editor. Only the least used fall off the end. Works in VS2008, VS2005 and their express versions. I like it, anyway.

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #64

          Hi Henry, thanks for the info. I'll give it a go, not sure I will ever get used to tabs hopping around though. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          H 1 Reply Last reply
          0
          • H Henry Minute

            Another useful registry hack is: Under the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0 key, you can create a DWORD UseMRUDocOrdering = 1. What this does is, when you select a tab in the editor, that tab moves to be the leftmost tab. This obviously keeps the most recently used files/designers visible in the editor. Only the least used fall off the end. Works in VS2008, VS2005 and their express versions. I like it, anyway.

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #65

            That looks useful. I may give it a try. :)

            Kevin

            1 Reply Last reply
            0
            • L Luc Pattyn

              Hi Henry, thanks for the info. I'll give it a go, not sure I will ever get used to tabs hopping around though. :)

              Luc Pattyn [Forum Guidelines] [My Articles]


              The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #66

              Luc Pattyn wrote:

              not sure I will ever get used to tabs hopping around though

              Yeah, I no longer notice it though. Thing is, if you don't like it, set the DWORD to 0, or delete it.

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

              1 Reply Last reply
              0
              • D Dr Walt Fair PE

                charlieg wrote:

                I'm one of those old geezers still writing code, dangerously close to the 3 decade mark.

                Youngster! I wrote my first program in 1967 (remember punch cards? ), so I'm working on my 5th decade. I usually try to keep my code on a normal screen or page, so I keep it around 80 characters wide, but sometimes I violate that guideline.

                CQ de W5ALT

                Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                L Offline
                L Offline
                LenaBr
                wrote on last edited by
                #67

                hi 1968 - on punch cards but I was really typing Dad's cards and debuging his syntax while I was at university. Wrote my own first code in 1970 and my first job was on a UNIVAC 3 punch cards, truck, tape, paper tape ect. (truck was for the round trip to Toronto for test runns)

                1 Reply Last reply
                0
                • U urbane tiger

                  Monash University in Melbourne is one place to look - I think they have some oldish CDC kit and a Ferranti Sirius, Atlas' little brother. Sydney Uni Basser School of CompSci may have some old kit too left over from Csirac, which was a near clone of the original Univac, the former was built by CSIRO in the 50/60's - Basser inherited it (I think). IBM may have some working punched card gear somewhere. You might be even find a hand operated punch at least that would probably still work, try Ebay. Or you could ask the Governor of Florida, he/she may have one left over from the chad debacle of 2000 :-D . I think Atlas has been resurrected in part at least, presumably at Manchester or maybe its at the Science Museum in South Kensington along with Babbages Engine, and I think they may have put Colossus back together at Bletchley Park if you're over that way, and there's an Elliot machine at Bletchley too. The only analog system I ever got to play with for a few weeks was a one of Elliot's flight simulation systems that they bolted onto our 803 digital system in an attempt to solve a simulation problem, it didn't work - well at least not in the time frame our manager was demanding - you know I want it by lunchtime, today. Don't think it had punch cards though, potentiometers, capacitor sliders and a patch panel are what I remember. Mercury delay memory was good stuff, you could watch your program's scribbles. If we had it today then MS wouldn't need to ban memcpy from their code. Did anyone here work on Singer Link flight simulators. I had a flight in a Link F111 simulator up at Amberley in the late '70's, scary stuff because its physical, i.e. it shakes, rattles and rolls in real space & time; wonder if they're still working, if the F111's are still flying then they may be, worth a look if they'll let you in, they had two back then. Much more interesting that a punched card. And what about the Singer System 10, now that was a weird system, it had hardware decimal arithmetic as I recall, everything was in 10's, all data was written in blocks of a 100 six bit bytes, and you could have assembler or RPG. I always thought it bizarre that a sewing machine company should make things like flight simulators & decimal computers. Have fun

                  Multi famam, conscientiam pauci verentur.(Pliny)

                  modified on Monday, May 18, 2009 5:48 AM

                  E Offline
                  E Offline
                  Estherino
                  wrote on last edited by
                  #68

                  Fantastic! Thanks Tiger!

                  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