On 80 columns should (not) be enough for everyone
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Jan 30 10:35:46 PST 2011
On 01/30/2011 12:25 PM, bearophile wrote:
> Peter Alexander:
>
>> Is this really worth arguing about?
>
> You are right, let's stick to 90-95 columns and let's close this discussion.
I, too, would love to vote how others should format their code. FWIW
here's a data point:
$ wc -l std/**/*.d
138793 total
$ grep '.\{81,\}' std/**/*.d | cut -f1 -d:| uniq -c | sort -nr
6742 std/datetime.d
145 std/bind.d
116 std/base64.d
106 std/windows/registry.d
92 std/file.d
81 std/socket.d
67 std/internal/math/biguintcore.d
66 std/math.d
64 std/conv.d
60 std/regexp.d
54 std/internal/math/gammafunction.d
51 std/numeric.d
35 std/stream.d
34 std/internal/math/biguintx86.d
32 std/regex.d
30 std/traits.d
22 std/container.d
21 std/zip.d
21 std/random.d
21 std/format.d
21 std/algorithm.d
19 std/signals.d
18 std/utf.d
18 std/string.d
18 std/internal/math/errorfunction.d
16 std/loader.d
14 std/typelist.d
14 std/internal/math/biguintnoasm.d
13 std/typecons.d
12 std/range.d
12 std/concurrency.d
11 std/json.d
11 std/date.d
10 std/functional.d
10 std/c/windows/winsock.d
10 std/bigint.d
9 std/encoding.d
7 std/path.d
6 std/zlib.d
6 std/xml.d
6 std/outbuffer.d
5 std/stdio.d
5 std/mathspecial.d
5 std/array.d
4 std/variant.d
4 std/typetuple.d
4 std/mmfile.d
4 std/md5.d
4 std/cpuid.d
3 std/socketstream.d
3 std/process.d
3 std/getopt.d
3 std/dateparse.d
3 std/ctype.d
2 std/windows/charset.d
2 std/uri.d
2 std/uni.d
2 std/stdarg.d
2 std/c/stdlib.d
2 std/c/osx/socket.d
2 std/compiler.d
2 std/c/linux/socket.d
1 std/windows/syserror.d
1 std/windows/iunknown.d
1 std/system.d
1 std/stdiobase.d
1 std/stdint.d
1 std/__fileinit.d
1 std/exception.d
1 std/demangle.d
1 std/datebase.d
1 std/c/windows/com.d
1 std/cstream.d
1 std/complex.d
1 std/bitmanip.d
1 Binary file std/perf.d matches
Andrei
More information about the Digitalmars-d
mailing list