ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Poll: do you code with line wrap on

April 02, 2008 1:01pm

Subscribe [8]
  • #1 / Apr 02, 2008 1:01pm

    webthink

    170 posts

    So I’ve met a couple developers now that use linewrap when they code. I personally find it extremely hard to read code with line wrap on. So the poll.

  • #2 / Apr 02, 2008 2:53pm

    anonymous42223

    38 posts

    I personally can’t understand using wordwrap for anything except for plaintext. Even with emails in gmail I do a return after about half-way across the entry box because otherwise I feel it is annoying to read.

    I guess it’s also the reason I favor fixed-width sites over fluid/variable-width ones.

    With some editors, side-scrolling can be bothersome, but learning keyboard shortcuts helps alleviate that.

  • #3 / Apr 02, 2008 2:54pm

    Pascal Kriete

    2589 posts

    Off, always and ever.  If a line gets to long I’ll rewrite the logic or shorten variable names.  If all else fails I’ll add the linebreak myself, but wordwrap just gets annoying.  Especially for lines that are just a tad too long.

  • #4 / Apr 02, 2008 3:41pm

    Gordaen

    76 posts

    I have Vim wrap the lines.  I don’t like when people manually add breaks all of their code to make it within X number of columns.

  • #5 / Apr 02, 2008 6:03pm

    Lone

    350 posts

    Im a wrapper…... yo 😛

  • #6 / Apr 02, 2008 6:16pm

    xwero

    4145 posts

    Im a wrapper…... yo 😛

    You are on the belgian kids channel ketnet?? the presenters are called wrappers 😊

  • #7 / Apr 02, 2008 7:53pm

    Matthew Lanham

    145 posts

    I dont use line-wrap but my designer does 😛

  • #8 / Apr 03, 2008 7:38pm

    Jakob Buis

    7 posts

    My code always fits on one line; wrapping is always turned on: but it doesn’t make a difference

  • #9 / Apr 03, 2008 10:44pm

    dark_lord

    103 posts

    Wrap…. ......  :zip:

  • #10 / Apr 04, 2008 6:17am

    adamp1

    772 posts

    I don’t use line wrap but try and code to 80chars. I don’t put a break if it goes over this but Instead of say having

    <tr><td>Lots of data</td><td>Lots of data</td><td>Lots of data</td></tr>

    I will do

    <tr>
      <td>Lots of data</td>
      <td>Lots of data</td>
      <td>Lots of data</td>
    </tr>

    I don’t understand how coding with linewrap is readable? I just get lost

  • #11 / Apr 07, 2008 12:17am

    fdog

    39 posts

    I just use 79 chars all the time. That’s the recommended way to do it. Easier to read and maintain for everyone 😉

  • #12 / Apr 07, 2008 5:46am

    frenzal

    136 posts

    I hate auto wrap and tunr it off right away

  • #13 / Apr 07, 2008 5:53am

    xwero

    4145 posts

    I hate auto wrap and tunr it off right away

    What kind of a bad editor/IDE do you use where wrapping is on by default 😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases