[katello-devel] Updated Ruby style guide

Greg Swift gregswift at gmail.com
Mon Oct 15 13:16:37 UTC 2012


On Mon, Oct 15, 2012 at 2:22 AM, Lukas Zapletal <lzap at redhat.com> wrote:
> On Fri, Oct 12, 2012 at 02:15:43PM -0400, David Davis wrote:
>> I'm also thinking of reiterating the 80 characters or less per line rule in our style guide. It's currently in the Github guide and I think it's great rule given that it's in our Python guide as well and Github cuts off commits after about 80 characters (you have to scroll over).
>
> Why you think it's great? I think it's evil, because nobody no longer
> uses fixed eighty columns anymore and it's quite limiting. I mean, xterm
> opens up with 80, but everyone can resize it if needed.
>
> There are many theoretical reasons why to wrap at 80 (like if a line is
> that long you should consider refactoring it blah blah). Crap. Give me
> practical reasons.

practical reason:  troubleshooting from a non-resizable console sucks
with >80characters.

that being said, I guess I'm not likely to be doing that with katello,
but it makes a lot of sense in a lot of places for that reason.




More information about the katello-devel mailing list