Re:Ask HN: Why is the source folder called 'src'?
by oneearedrabbit on Friday April 22, 2022 @11:03AM
(#31122470)
"White space is as important to code as silence is to music. Without them music is noise and code is an impenetrable wall of text." -Nils M Holm
[ Parent
| on HN ]
Re:Ask HN: Why is the source folder called 'src'?
by muzani on Friday April 22, 2022 @07:33PM
(#31129581)
That's white space. Difference between source and src is more like a 1/8 note vs 1/4.
Re:Ask HN: Why is the source folder called 'src'?
by karmakaze on Friday April 22, 2022 @02:55PM
(#31126411)
Probably true for Lisp, but gofmt would disagree.
Re:Ask HN: Why is the source folder called 'src'?
by KSPAtlas on Friday April 22, 2022 @07:20PM
(#31129467)
Writing a formatter for lisp would be a piece of cake, as the syntax is very simple
Re:Ask HN: Why is the source folder called 'src'?
by karmakaze on Friday April 22, 2022 @08:47PM
(#31130145)
I meant to refer to how gofmt doesn't destroy information (to a human reader) whereas a Lisp formatter would probably make well-formatted comprehensible source much less so: conceptual chunks can't be inferred from syntactic ones--well maybe with GPT-3.