[英文] 为什么 Markdown 烂 - V2EX
zxgngl

[英文] 为什么 Markdown 烂

  •  
  •   zxgngl Mar 22, 2016 3894 views
    This topic created in 3709 days ago, the information mentioned may be changed or developed.

    原文:

    Why Markdown Sucks by Joe Armstrong (Armstrong 爷爷是 Erlang 语言的设计者之一)

    http://joearms.github.io/2016/03/21/Why-Markdown-Sucks.html

    摘录:

    “ There are only two kinds of languages: the ones people complain about and the ones nobody uses.” Bjarne Stroustrup

    I discovered that about a third of my old blog entries were incorrectly formatted...

    Editing my old pages is more difficult than it seems, since neither the old dialect of markdown rdiscount nor the new kramdown have a formal grammar and I haven ’ t a clue what output they will produce, since it is not formally specified.

    I am reluctant to say this, but there is a future proof way of making markdown - that ’ s to write documents directly in XML with a strict DTD and then generate markdown from the XML...

    For high quality text, I choose XML markup with my own custom DTD, then an Erlang program to transform this to XSL-FO using an Apache FOP backend.

    For low-quality text (like blogs) and emails, markdown is fine - but please don ’ t change the formatting rules after you ’ ve written dozens of large documents.

    5 replies    2016-04-30 09:14:07 +08:00
    caoyue
        1
    caoyue  
       Mar 22, 2016
    想起老爷子的「 Why OO Sucks 」,还是这么犀利 =-=

    全文看完的话,也不全是黑,说的还是挺有道理的,里面讲的问题也确实存在
    newghost
        2
    newghost  
       Mar 22, 2016
    Markdown 挺好的呀
    redkei
        3
    redkei  
       Mar 22, 2016
    sucks 是 sucks 可哪里都有啊
    wizardforcel
        4
    wizardforcel  
       Apr 20, 2016 via Android
    还“ large documents ”。。去 gitbook 看看吧,那里面全是“ large documents ”,你还想要多 large ?
    dvorak4tzx
        5
    dvorak4tzx  
       Apr 30, 2016
    老爷子习惯了手写 XML……而已……外,他只是吐槽 Markdown 各种规范太繁杂,自己不能预期生成的格式。(其实选定一个标准,很容易适应(关键是老爷子自己的老文章要一个个改好……有点累))
    About     Help     Advertise     Blog     API     FAQ     Solana     2987 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 41ms UTC 13:02 PVG 21:02 LAX 06:02 JFK 09:02
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86