News for hackers. Stuff that matters.
Re:Applying the Gestalt Principles to Code by enriquto on Sunday May 05, 2019 @01:05PM (#19833728)
> Anyway then you would get stuck policing exactly how long a "line" is, do comments count, etc...

A line is 80 characters. Indent is 8 spaces. Comments do not count.

Re:Applying the Gestalt Principles to Code by foreigner on Sunday May 05, 2019 @01:21PM (#19833813)
Case in point, I prefer an indent of 4 spaces.
Re:Applying the Gestalt Principles to Code by enriquto on Sunday May 05, 2019 @02:12PM (#19834095)
It does not matter. However hard you "prefer" the value of pi to be 3, it will stay an irrational number. Eight-space tabs are a constant of the universe.
Re:Applying the Gestalt Principles to Code by indentit on Sunday May 05, 2019 @03:07PM (#19834392)
not in this universe they aren't - many popular applications indent 4 spaces by default when pressing the Tab key, and render physical tabs as four spaces, for example github ;) tabs of 8 space width are a legacy travesty that wastes space :)
Re:Applying the Gestalt Principles to Code by enriquto on Sunday May 05, 2019 @03:18PM (#19834449)
Ours is indeed a decadent universe that is slowly being corrupted by powerful forces of evil (such as the 4-space tab brain damage of github). But there are still beacons of light to guide us:

https://www.kernel.org/doc/html/latest/_sources/process/codi...

https://wiki.musl-libc.org/coding-style.html

https://www.freebsd.org/cgi/man.cgi?query=style&sektion=9

https://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man9...