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. Other Discussions
  3. The Back Room
  4. Grrr.. Tell me you dont use wordwrap!?

Grrr.. Tell me you dont use wordwrap!?

Scheduled Pinned Locked Moved The Back Room
questionlounge
14 Posts 6 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 dazinith

    Okay, i may not be the best coder in the world, but i have taken alot of courses and have some experience, etc.. but this guy i work with has only recently begun coding and has had no formal training.. and he uses wordwrap!? does anyone use wordwrap when coding? his idention is impossible to read! are there any notable coders on here who like wordwrap when coding?! its not really a programming question.. altho it kinda is.. hope its off topic enough :) still a newb.. cut me some slack :P -dz

    S Offline
    S Offline
    Stan Shannon
    wrote on last edited by
    #3

    What the hell is wordwrap :confused:

    D 1 Reply Last reply
    0
    • S Stan Shannon

      What the hell is wordwrap :confused:

      D Offline
      D Offline
      dazinith
      wrote on last edited by
      #4

      you know, when a line is so long it wraps it around to the next line.. commonly used in reading text files.. still a newb.. cut me some slack :P -dz

      S 1 Reply Last reply
      0
      • D dazinith

        Okay, i may not be the best coder in the world, but i have taken alot of courses and have some experience, etc.. but this guy i work with has only recently begun coding and has had no formal training.. and he uses wordwrap!? does anyone use wordwrap when coding? his idention is impossible to read! are there any notable coders on here who like wordwrap when coding?! its not really a programming question.. altho it kinda is.. hope its off topic enough :) still a newb.. cut me some slack :P -dz

        T Offline
        T Offline
        Terry ONolley
        wrote on last edited by
        #5

        I do not use wordwrap. But if truth be told, readable code makes the word=wrap question moot. If your parameter list is so flippin long it doesn't fit within 80 columns, then you should probably place each parameter on its own line for readability. Ditto for super-coder-look-at-me-I-am-so-smart-I-can-combine-all-of-these-statements-into-one-statement-that-would-be-worthy-of-the-obfuscated-c-competition. If it doesn't fit within one word-wrapped line then it is needlessly complex.



        D 1 Reply Last reply
        0
        • D dazinith

          you know, when a line is so long it wraps it around to the next line.. commonly used in reading text files.. still a newb.. cut me some slack :P -dz

          S Offline
          S Offline
          Stan Shannon
          wrote on last edited by
          #6

          hmmm... Visual Studio just keeps going to the right. I can't imagine having it any other way. What is he using? Notepad?

          D 1 Reply Last reply
          0
          • S Stan Shannon

            hmmm... Visual Studio just keeps going to the right. I can't imagine having it any other way. What is he using? Notepad?

            D Offline
            D Offline
            dazinith
            wrote on last edited by
            #7

            yeah you can turn on wordwrap.. just most ppl dont still a newb.. cut me some slack :P -dz

            1 Reply Last reply
            0
            • T Terry ONolley

              I do not use wordwrap. But if truth be told, readable code makes the word=wrap question moot. If your parameter list is so flippin long it doesn't fit within 80 columns, then you should probably place each parameter on its own line for readability. Ditto for super-coder-look-at-me-I-am-so-smart-I-can-combine-all-of-these-statements-into-one-statement-that-would-be-worthy-of-the-obfuscated-c-competition. If it doesn't fit within one word-wrapped line then it is needlessly complex.



              D Offline
              D Offline
              dazinith
              wrote on last edited by
              #8

              good point.. thats what i normally do.. if its a ways past the limit then ill break it up a bit.. the auto-indent is really useful for that.. thanks for your 2 cents.. i just explained it how you did and i think i might be making progress :) still a newb.. cut me some slack :P -dz

              T 1 Reply Last reply
              0
              • D dazinith

                Okay, i may not be the best coder in the world, but i have taken alot of courses and have some experience, etc.. but this guy i work with has only recently begun coding and has had no formal training.. and he uses wordwrap!? does anyone use wordwrap when coding? his idention is impossible to read! are there any notable coders on here who like wordwrap when coding?! its not really a programming question.. altho it kinda is.. hope its off topic enough :) still a newb.. cut me some slack :P -dz

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #9

                Kill him. With a club. Made of soft foam.


                "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                sighist | Agile Programming | doxygen

                R D 2 Replies Last reply
                0
                • P peterchen

                  Kill him. With a club. Made of soft foam.


                  "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                  sighist | Agile Programming | doxygen

                  R Offline
                  R Offline
                  Rob Manderson
                  wrote on last edited by
                  #10

                  peterchen wrote: Kill him. With a club. Made of soft foam. Slowly! Rob Manderson http://www.mindprobes.net

                  1 Reply Last reply
                  0
                  • D dazinith

                    good point.. thats what i normally do.. if its a ways past the limit then ill break it up a bit.. the auto-indent is really useful for that.. thanks for your 2 cents.. i just explained it how you did and i think i might be making progress :) still a newb.. cut me some slack :P -dz

                    T Offline
                    T Offline
                    Terry ONolley
                    wrote on last edited by
                    #11

                    Are you this guys project manager? If so, spend a few hours writing coding standards - my bible is "Code Complete" - the best book ever written on software "construction". The time you spend documenting the standards will be given back to you many times over.



                    D 1 Reply Last reply
                    0
                    • T Terry ONolley

                      Are you this guys project manager? If so, spend a few hours writing coding standards - my bible is "Code Complete" - the best book ever written on software "construction". The time you spend documenting the standards will be given back to you many times over.



                      D Offline
                      D Offline
                      dazinith
                      wrote on last edited by
                      #12

                      thanks for the suggestion, i will look into it.. and no im not his project manager, but he prolly needs one :) still a newb.. cut me some slack :P -dz

                      1 Reply Last reply
                      0
                      • P peterchen

                        Kill him. With a club. Made of soft foam.


                        "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                        sighist | Agile Programming | doxygen

                        D Offline
                        D Offline
                        dazinith
                        wrote on last edited by
                        #13

                        good god you had me rollin on the floor!:laugh::laugh: still a newb.. cut me some slack :P -dz

                        1 Reply Last reply
                        0
                        • D dazinith

                          Okay, i may not be the best coder in the world, but i have taken alot of courses and have some experience, etc.. but this guy i work with has only recently begun coding and has had no formal training.. and he uses wordwrap!? does anyone use wordwrap when coding? his idention is impossible to read! are there any notable coders on here who like wordwrap when coding?! its not really a programming question.. altho it kinda is.. hope its off topic enough :) still a newb.. cut me some slack :P -dz

                          D Offline
                          D Offline
                          dazinith
                          wrote on last edited by
                          #14

                          are there any online standards that might list information about using multiple lines instead of wordwrap? my co-worker thinks im just harping on him.. some ppl are just so stuborn! still a newb.. cut me some slack :P -dz

                          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