LWN.net Logo

Thoughts on the ext4 panic

Thoughts on the ext4 panic

Posted Oct 30, 2012 5:01 UTC (Tue) by MTecknology (subscriber, #57596)
In reply to: Thoughts on the ext4 panic by ikm
Parent article: Thoughts on the ext4 panic

I love 80 char limits. Thanks to larger screens we can make that a soft limit too! I find that it still makes a crazy about of sense, especially when it comes to readability. I believe that's covered in chapter two of the Linux kernel coding style? "The limit on the length of lines is 80 columns and this is a strongly preferred limit."

Thanks nix! I love that summary. It saves me from having to read anything or do any of my own research and still sound smart when I explain it to others! :D


(Log in to post comments)

Thoughts on the ext4 panic

Posted Oct 30, 2012 10:39 UTC (Tue) by nix (subscriber, #2304) [Link]

I agree with the limit on the length of lines: it should generally be shorter, more like 70 chars. That has nothing to do with terminal emulator width and everything to do with readability and the human eye.

But that width is the length of the line from its first character to its last: you do not sweep your eye over the indentation, so it should not count.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds