2 ms·
Let's see. The Unix indent utility was what, mid-1980s? GNU indent came out in 1989. Python was released in the mid-1980s. PEP-8 was released in 2001. Yup,
by btilly 9y ago
Let's see. The Unix indent utility was what, mid-1980s? GNU indent came out in 1989. Python was released in the mid-1980s. PEP-8 was released in 2001.
Yup, Python clearly pioneered automatic code formatting. Nobody had done it before them...
- Someone 9y agoLisp pretty printing was available in February 1973 (http://www.softwarepreservation.org/projects/LISP/MIT/AIM-279-Goldstein-Pretty_Printing.pdf http://www.softwarepreservation.org/projects/LISP/MIT/AIM-27...). That document states Bill Gosper wrote one of the first pretty printers, but doesn’t give a date for it. I would think it is much older, as writing a simple lisp pretty-printer is easy and reading lisp without autoformatting is “less than ideal”.