Author Topic: Rules for tiling, e.g. minimum window width  (Read 2611 times)

lairy

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Rules for tiling, e.g. minimum window width
« on: April 25, 2011, 02:36:10 PM »
Tile Windows: rules for tiling, e.g. minimum window width of 80 columns (favor shorter wide windows over narrow tall windows)

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Rules for tiling, e.g. minimum window width
« Reply #1 on: May 03, 2011, 08:46:21 AM »
Besides that there are some 'wrap' related options which might be helpful to comply with your coding standards.
HS2

PS: 80 chars in the era of widescreens - sure ? ;)

Glajan

  • Community Member
  • Posts: 44
  • Hero Points: 7
Re: Rules for tiling, e.g. minimum window width
« Reply #2 on: May 03, 2011, 08:49:37 AM »
PS: 80 chars in the era of widescreens - sure ? ;)

Yes ... sadly ;D Linux kernel code standard.

dunkers

  • Senior Community Member
  • Posts: 774
  • Hero Points: 36
Re: Rules for tiling, e.g. minimum window width
« Reply #3 on: May 03, 2011, 10:53:27 AM »
Quote
80 chars in the era of widescreens - sure ?

Newspapers have multiple columns for a very good reason. Widescreen should mean more space for more views (or sidebars), not harder to follow stuff. Even Microsoft are finally figuring this out with the dreaded Ribbon.

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Rules for tiling, e.g. minimum window width
« Reply #4 on: May 03, 2011, 12:23:40 PM »
@dunkers:
Code: [Select]
   I'm using 112 cols incl. trailing comment.  // I'm not talking about 250 chars per lineThe line above has already 91 chars.
I've found that with bare metal ANSI-C lines were usually shorter.
Nowadays it's sometimes hard to self-restrict to 80 chars e.g. using C++ with libraries w/o breaking real code lines into pieces.
But it clearly depends on your own resp. given preferences.

Just my (final) 2ct, HS2
« Last Edit: May 03, 2011, 12:28:00 PM by hs2 »

Glajan

  • Community Member
  • Posts: 44
  • Hero Points: 7
Re: Rules for tiling, e.g. minimum window width
« Reply #5 on: May 03, 2011, 12:44:42 PM »
Quote
80 chars in the era of widescreens - sure ?

Newspapers have multiple columns for a very good reason. Widescreen should mean more space for more views (or sidebars), not harder to follow stuff. Even Microsoft are finally figuring this out with the dreaded Ribbon.

Multi column edit mode would be cool! (I do not think that was what you meant but still ... )

dunkers

  • Senior Community Member
  • Posts: 774
  • Hero Points: 36
Re: Rules for tiling, e.g. minimum window width
« Reply #6 on: May 03, 2011, 12:54:41 PM »
@HS2: The actual length is always a personal preference, and I don't have a beef with that - I was differing in that your message seemed to imply that the line should fill the screen width, or that since the screen is wider the line could be longer.