3 ms·
For human readers we use periods, not line breaks.
by surrealize 15y ago
For human readers we use periods, not line breaks.
- secoif 15y agoThe context is programming, not writing.
- sambeau 15y agoCode is more like poetry.
- sambeau 15y agoThat was not a flippant remark. Lines of code are clauses not sentences. This is also true of poetry. A sentence is more akin to a stanza in poetry, and a function in code. While I could entertain an argument for lines ending in commas and for functions to end with periods there is no reasonable argument for lines to end with periods (is there a language where a line is equal to a function?). APL, and to some degree Perl, are examples of languages where to you might consider a period half-way through a line.