3 ms·
Is the code formatting not working for anybody else?
by wry_discontent 1y ago
Is the code formatting not working for anybody else?
- simne 1y agoI have yesterday tried to read docs (sure, find by google :) ), and there stated "Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)". - Tried, and it really work. https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- simne 1y agoJust for test purposes. ───────────── / \ / \ / \ / \ │ │ │ circle of power │ │ │ │ │ │ │ \ / \ / \ / \ / ─────────────
- iLemming 1y agoIt took me a minute to realize that you're talking about code formatting on HN, and it has nothing to do with Clojure. I was like: "What formatting are they talking about? It's darn Lisp - there's no 'formatting gripes' here..." The only thing Clojure devs have to agree on - to align or to indent, and that's all the formatting rules and conventions you need to know about. Inexperienced newbies say: "Lisp is hard to read", which I think is completely overblown and in fact is the opposite - Lisp is so nicely readable, that even on a narrow screen of a phone it remains readable - the code simply wraps around - a trick Python and Haskell programmers especially hate.