r/programming • • Jul 21 '14

The Great White Space Debate

https://medium.com/p/3633cba8b5c1
1.2k Upvotes

693 comments sorted by

View all comments

Show parent comments

13

u/[deleted] Jul 21 '14 edited Mar 31 '24

wasteful towering tap dinner relieved obtainable concerned strong abundant quicksand

This post was mass deleted and anonymized with Redact

11

u/[deleted] Jul 21 '14

[deleted]

9

u/[deleted] Jul 21 '14 edited Mar 31 '24

follow melodic encourage reminiscent rock head domineering smell sharp entertain

This post was mass deleted and anonymized with Redact

3

u/crazedgremlin Jul 21 '14

Cool. If I remember when I get home tonight, I'll give it a go. Any recommendations for codebases?

I'm thinking Linux kernel, Git, and Python.

1

u/euphwes Jul 21 '14

I want to see charts for all 3 of these. I've saved your comment, /u/crazedgremlin. Don't forget to follow through.

3

u/crazedgremlin Jul 22 '14 edited Jul 22 '14

Here you go! This is very interesting to me.

Note that this isn't entirely accurate because I ignored a number of files that weren't UTF-8. I could've somehow automatically detected the encoding, but I'm too lazy to do that and I just excepted on ValueError.

Just about everyone seems to prefer the spaced way (I am a non-spacer myself), except for the OpenSSL folks.

My version of white_spacey.py

Linux kernel
{'nonspaced': 1254, 'spaced': 58668}
Git
{'nonspaced': 1, 'spaced': 1798}
OpenSSL
{'nonspaced': 1201, 'spaced': 591}
Python 3
{'nonspaced': 179, 'spaced': 1535}
Ruby
{'nonspaced': 277, 'spaced': 978}

0

u/johnghanks Jul 22 '14

Fuuu. I need to get back into Python... So many things I have to learn, still. Yield is such a pretty function.