4 ms·
I'm seeing in the source that the author prefers type methodName(args...) Is this a common C-ism? I'm not familiar with this code style.
by shortstuffsushi 9y ago
I'm seeing in the source that the author prefers
type
methodName(args...)
Is this a common C-ism? I'm not familiar with this code style.
- mratzloff 9y agoGNU style. https://en.m.wikipedia.org/wiki/GNU_coding_standards https://en.m.wikipedia.org/wiki/GNU_coding_standards
- nachexnachex 9y agoIt is. It allows to search for function declarations with the regex '^[^( ]+[(]' (or similar) -- while more common in the past, many have adopted it and keep using it. Personally I've come to find it nice to read, particularly when you're returning complex, long types.
- deleted 9y ago[deleted]