HN 写作课

工程师们二十年里聊过的写作。

工程师、作家、编辑和创业者在 Hacker News 上聊了二十年“怎么写”:怎么写得清楚、怎么讲好一个故事、技术文档怎么写、小说和出版是怎么回事。这里把其中关于写作与讲故事的帖子挑出来,配上中文导读、可以直接用的写作要点和评论翻译。

从必读开始
  • 2,600+篇关于写作的 HN 讨论

Writing tips

写作锦囊

正在抽一条写作要点…

Essential

必读 30 篇

在讨论库里看全部精选

编辑精选里 HN 讨论最热的 30 篇,每篇都有中文导读和写作要点。

  1. 正在载入…

Archive

讨论库

按发帖年份分布,点柱子筛选。

排序

    About

    这些讨论是怎么挑出来的

    1. 01

      从全量里捞

      读取 Hacker News 自 2006 年以来的全部帖子,用关键词先捞出 40 分以上、可能和写作有关的约 1.1 万篇。

    2. 02

      只留真正讲写作的

      由 AI 逐条判断是否和写作、讲故事、文风、出版有实质关系,剔除“写代码”“编辑器”这类字面撞车,并分进十个类别。

    3. 03

      提炼可用的要点

      为值得读的帖子写中文导读,提炼 2-4 条可以直接用到自己写作里的要点,并精选翻译 HN 高赞评论。内容由 AI 生成,可能有误。

    写作方法2019nickjanetakis.com

    写书和课程时,Vim为我节省了大量时间

    Vim Is Saving Me Hours of Work When Writing Books and Courses

    阅读原文 HN 讨论
    378HN 得分
    275条评论
    4条写作要点

    导读

    这篇文章讨论作者如何用 Vim 节省写作书籍和课程的时间。多位评论者指出,节省时间的前提是你已经熟练掌握了 Vim,否则学习和配置的成本可能超过收益;也有评论提到 Emacs 的自动化能力提供了另一种思路。对写作者来说,值得思考的是工具如何服务于你的写作流程,而不是盲目追求效率。

    关键词 写作工具VimEmacs效率

    可以直接用的写作要点

    1. 01

      不要为了节省时间而花大量时间配置工具,先衡量学习成本是否真的值得。

    2. 02

      只有当你已经熟练使用某个工具时,它才能真正提升你的写作效率。

    3. 03

      写作工具的自动化(如宏、脚本、折叠)可以帮助处理重复性任务,但核心仍是内容本身。

    4. 04

      无论用 Vim 还是 Emacs,找到适合自己的工作流比争论哪个工具更好更重要。

    HN 评论精选

    配置工具节省的时间可能抵不过学习成本,但乐趣是正当理由。

    作者做了很多设置,但我很怀疑“节省时间”是合理理由。花在配置、学习和优化上的时间很可能远超节省下来的时间。这和开发者没先分析瓶颈就优化代码是类似的误区。不过你还是应该做这些,因为很好玩,Vim 很棒。

    rejschaap查看英文原文

    There are many reasons for doing the things the author did, but I highly doubt saving time is a valid reason. The amount of time spent on setting this up and learning these tools and optimizing the workflows and writing scripts will most likely be much more than any time saved (real or imagined). It is a similar pitfall that developers step into when they optimize their code before profiling where the bottlenecks are at. But of course you should still do all of this, because it is a lot of fun and Vim rocks.

    Vim 的高效取决于熟练度,初学者反而会变慢。

    说实话,Vim 只有在已经很熟练时才能帮你节省时间;如果不熟练,反而会拖慢你。它需要练习和日常使用才能掌握。我爱 Vim,但不要美化这一点。

    INTPenis查看英文原文

    Let's be honest though; vim saves you hours of work if you're already good at vim. If you're not then it'll just slow you down. It takes practice and daily use to learn. I love vim but let's not sugar coat it.

    Emacs 的 Elisp 自动化能把文本处理变成编程,极大提升生产力。

    学 Emacs 吧,然后你做任何事都能节省时间。只要学会写 Elisp 宏,就能把自己的知识自动化。想象把文本缓冲区变成编程环境,光标移动是基本控制,文本输出是最终目标。我最近写了一段 Elisp 代码,能处理文件、分析错误、给出问题行,我还能在不同缓冲区做集合运算,最后生成邮件。我只是个刚起步的新手,已经很惊讶于它的能力。Vim 宏也很疯狂。就像会计可以疯狂使用电子表格一样,我们很幸运工作对象恰好是文本。

    kamaal查看英文原文

    Learn Emacs and then you can save hours of work doing anything. All you do is learn how to write Elisp Macros. And then you automate your knowledge. Think of it like programming a text pad(s)(Like how excel is programming a list(s) of cells). You realize that the text buffer is your programming environment, with cursor movement as your basic control, and text output as your end goal. Then of course other programmatic facilities apply. Only recently wrote a piece of Elisp code at work, that takes a file, does a bit of error analysis and gives me offending lines and other inputs like ids. I take them in a buffer and do all kinds of set operations(intersection etc) from inputs in other buffers(Elisp code for that too). Then take them and have Elisp generate a email message for me(Again Elisp code to do this). I just copy paste and send it to respective stake holders. And I'm a novice who barely started with Emacs. I only imagine what I can do when I get fully proficient with it. It's like automating yourself. I guess we are only lucky our work happens to be mostly in text and we get to use emacs and vim(vim macros are just insane), just like accountants can put spreadsheets to crazy use as their work happens to deal with tables.

    Emacs org mode 的折叠与转换功能很实用,适合大量笔记管理。

    提供一个选择:我工作中有一个 23 万词的笔记文件,用 Emacs 的 org mode 编辑。我每周添加两三次内容。org mode 自带折叠功能,还有很多转换工具,常见用途不用专门写一次性脚本。

    jkingsbery查看英文原文

    Just throwing out an alternative: for work, I have a 230k word file of notes I've taken that I edit with emacs org mode. I add to this file 2-3 time per week (so, not every day, but pretty frequently). With org mode, you get the "folding" of different sections for free. Plus, org mode has different tools for converting content, so no need to build one-off bash scripts for many common use cases.

    同类还值得读

    1. 被低估的工程技能:把文章写好

      Undervalued Engineering Skills: Writing Well

      这篇文章讨论为什么“写得好”是被低估的工程能力,以及它如何在团队协作、系统设计和职业发展中持续带来回报。

      写作方法2019 · 1,109 分 · 371 评4 条写作要点编辑精选
    2. 每行只写一句话:让写作和修改都更轻松的排版法

      Writing one sentence per line

      这是 Derek Sivers 的一篇短文,主张写作时每行只放一个句子,而不是按段落排版。

      写作方法2022 · 849 分 · 297 评4 条写作要点编辑精选
    3. 书面沟通是远程工作的超级能力

      Written communication is remote work super power

      这篇文章讨论远程工作中书面沟通的价值,评论区则补充了异步与同步沟通的适用场景,并提醒读者:备忘录、结论先行、结构化命令格式等书面沟通传统早已有之。

      写作方法2020 · 831 分 · 190 评4 条写作要点编辑精选
    4. 如何写出有用的文字

      How to Write Usefully

      保罗·格雷厄姆在这篇文章里给"有用的写作"下了一个可操作的公式:有用≈重要×新颖×正确×清楚,任一项为零,整篇文章就等于零;他还主张敢下确定判断、删掉让自己心虚的句子。

      写作方法2020 · 821 分 · 285 评4 条写作要点编辑精选
    5. 如何写得更清楚、想得更清楚,并学会复杂材料(PDF)

      How to write more clearly, think more clearly, and learn complex material [pdf]

      这份 PDF 讨论如何把文章写清楚、把思路理清楚,并用写作来学习复杂材料。

      写作方法2022 · 779 分 · 153 评4 条写作要点编辑精选

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。