[lkml]   [2020]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: clean up kernel_{read,write} & friends v2
On Fri, 29 May 2020 at 05:35, Al Viro <> wrote:
> On Thu, May 28, 2020 at 12:22:08PM -0700, Joe Perches wrote:
> > Hard limits at 80 really don't work well, especially with
> > some of the 25+ character length identifiers used today.
> IMO any such identifier is a good reason for a warning.
> The litmus test is actually very simple: how unpleasant would it be
> to mention the identifiers while discussing the code over the phone?

That doesn't make sense though,

if you write the full english words out for something it'll be long
but easier to say over the phone,
if you use shortened kernel abbreviations it will be short but you'd
have to read out every letter.

To take an example:
this would read pretty well on the phone, maybe params could be parameters

vddc would be a stumbler.

try saying O_CREAT over the phone to someone not steeped in UNIX folklore.


 \ /
  Last update: 2020-05-28 22:33    [W:0.122 / U:1.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site