Re:The Language Agnostic, All-Purpose, Incredible, Makefile
by a3n on Monday November 18, 2019 @07:34PM
(#21569692)
It could have non-significant whitespace.
[ Parent
| on HN ]
Re:The Language Agnostic, All-Purpose, Incredible, Makefile
by lokedhs on Monday November 18, 2019 @08:14PM
(#21569903)
That would be great, but significant whitespace doesn't seem to stop all the Python users out there.
Re:The Language Agnostic, All-Purpose, Incredible, Makefile
by m463 on Monday November 18, 2019 @08:35PM
(#21570011)
I will say I like how python uses whitespace syntactically. The whitespace is consistent, makes programs readable and much more compact.
make seems to be less consistent. I think it distinguishes between a space and a tab, which isn't clear without editor help.
Re:The Language Agnostic, All-Purpose, Incredible, Makefile
by a3n on Monday November 18, 2019 @09:11PM
(#21570158)
Yeah, I wasn't specific here. Tabs and spaces in Make are different specific things. I also like Python's significant whitespace.
It's easy to mess up whitespace in Make and it might not complain about it. Mixed whitespace in Python will either work without problem, or it will tell you when it doesn't.
Make's whitespace is unnecessarily clever.