News for hackers. Stuff that matters.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by Sharlin on Monday April 11, 2016 @10:23AM (#11471667)
XML may have been made for documents but it is certainly one of the worst language families ever for actually typing documents by hand.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by tptacek on Monday April 11, 2016 @11:13AM (#11472030)
You don't have to write the XML tags while you type. The hardest part about writing long-form technical prose is writing long-form technical prose. You can concentrate on getting that right, in the editor of your choosing, using placeholders for diagrams and layout elements. Then, in a second pass, mark the text up.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by clebio on Monday April 11, 2016 @12:30PM (#11472755)
Indeed. And it's odd no one's mentioned Pandoc yet.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by vbezhenar on Monday April 11, 2016 @11:00AM (#11471935)
Millions of websites are made with writing HTML by hand and it's certainly not that bad.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by insertnickname on Monday April 11, 2016 @10:29AM (#11471695)
What would you use instead that would allow you to define your own markup? LaTeX? \em{Hello} isn't much better than <em>Hello</em>.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by zeveb on Monday April 11, 2016 @11:16AM (#11472051)
Sure, a single small example looks almost (but not quite) as bad, but in larger texts LaTeX is basically the text-you're-writing, plus some control stuff, whereas XML interferes with everything.
Re:Brian Kernighan on the Typesetting of “The Go Programming... by Tomte on Monday April 11, 2016 @10:40AM (#11471766)
On non-English keyboards it is even worse.