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 生成,可能有误。

    博客与个人写作2019boston.conman.org

    同一套博客软件用了20年

    Using the same blogging software for 20 years

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

    导读

    一位博主回顾自己用同一套博客软件写了二十年,由此引出关于长期写作的讨论:链接会失效、平台会更替,但个人站点可以一直存在。对写作者来说,这篇文章值得一读,因为它讨论的不只是工具,而是「写得久」这件事本身需要怎样的心态和维护策略。

    关键词 长期写作个人博客链接失效SEO

    可以直接用的写作要点

    1. 01

      引用外部链接时顺手保存一份存档(快照),别让几年后的旧文因为对方网站消失而变得残缺。

    2. 02

      与其为搜索引擎的排名写作(比如在菜谱前硬塞一段无关的个人回忆),不如把内容本身写好,服务真实的读者。

    3. 03

      尽早拥有并长期维护自己的独立写作空间,二十年后它会成为别人拿不走的资产。

    4. 04

      面对大量旧文的失效链接,与其逐个手工修补,不如建立批量、自动化的处理方式,并接受「修不完」这件事。

    HN 评论精选

    链接必然失效,与其事后逐个修补,不如在引用时就自己存档副本。

    我多年前就放弃处理链接失效了。碰到旧文里有打不开的链接,我要么换一个新资源,要么指向 Wayback Machine,要么直接删掉那个链接(尤其是有人为了让我修链而指向自己 SEO 垃圾站的时候)。考虑到网站平均寿命只有两年半,专门花时间修旧链不值得;自动检测链接失效也是徒劳——404 好判断,难的是网站换了东家、旧链接还能打开,但已经不是原来的页面。我甚至开始觉得干脆别加外链了,只是老习惯难改。写了九年后,我的结论是:逐个修链的做法撑不住内容和时间的增长,我打算用 ArchiveBox 之类的工具自己托管大部分外链的副本,链接后不久就缓存下来,这样就不会坏掉。

    gwern查看英文原文

    > I gave up on dealing with link rot years ago. If I come across an old post with non-functioning links, I may just find a new resource, link to The Wayback Machine or (if I'm getting some spammer trying to get me to fix a broken link by linking to their black-hat-SEO laiden spamfarm) removing the link outright. I don't think it's worth the time to fix old links, given the average lifespan of a website is 2½ years and trying to automate the detection of link rot is a fools errand (a page that goes 404 or does not respond is easy—now handle the case where it's a new company running the site and all old links still go a page, but not the page that you linked to). I'm also beginning to think it's not worth linking at all, but old habits die hard. After about nine years of writing, I've concluded something similar: my existing reactive approach (https://www.gwern.net/Archiving-URLs) is not going to scale either with expanding content or over time. Fixing individual links is OK if you have only a few or aren't going to be around too long, but as you approach tens of thousands of links over decades, the dead links build up. So the solution I am going to implement soon is taking a tool like ArchiveBox or SinglePage and hosting my own copies of (most) external links, so they will be cached shortly after linking and can't break. The bandwidth and space will be somewhat expensive, but it'll save me and my readers a ton in the long run.

    为搜索引擎堆砌的内容会伤害读者,把内容做好才是长期有效的做法。

    我的 PageRank 还够高,所以总有人想来蹭。作者猜测原因之一是他从不刻意操纵排名,我希望他是对的。我一直跟人争论:想在 Google 上排得好,最好的办法就是把网站做到最好,别玩 SEO 的花招。我们当时聊的例子是菜谱网站——它们总要在正文前塞一大段无关的随笔,讲作者当年做交换生时第一次吃炖小牛胫之类的。这种随笔是写给 Google 看的,不是写给那个只想赶紧做晚饭的倒霉读者的。

    criddell查看英文原文

    > My PageRank is still high enough to get requests from people trying to leach off from it. One of his guesses for this is because he doesn't try to game the PageRank system. I hope he's right. I've argued with other people that the best way to score well on Google is to create the best website you can and forget about SEO games. The specific example we were talking about is recipe websites. They all seem to have pointless essays about the first time the author tried ossobuco when they were an exchange student or something else irrelevant. The theory is that the essay is for Google and not for the poor schmuck trying to make dinner.

    个人博客的长期存续本身就值得鼓励,写作要有自己的地盘。

    很有意思的一篇。现在个人网站和博客有复兴的趋势,我希望能看到更多站点坚持十年以上。每个人都该有属于自己的一小块网络天地。

    bradley_taunt查看英文原文

    Really interesting read. With the current trend of revitalizing personal sites/blogs, I hope to see more of them stick around for even 10+ years. Everyone should have their own personal piece of the web.

    同类还值得读

    1. 我坚持每天写一条 TIL,已经写了一年

      Show HN: I've been writing daily TILs for a year

      这篇展示作者一年每天写 TIL(Today I Learned)并整理到 GitHub 仓库的做法。

      博客与个人写作2016 · 819 分 · 150 评4 条写作要点编辑精选
    2. 如何写出开发者愿意读的博客文章

      How to write blog posts that developers read

      这篇(正文与评论未提供,仅从标题判断)讨论面向开发者写技术博客的方法:怎样让忙碌的工程读者愿意点开、读下去并读到结尾。

      博客与个人写作2025 · 603 分 · 154 评4 条写作要点编辑精选
    3. 博客写作风格指南

      A blogging style guide

      这是程序员兼博主 Robert Heaton 的博客写作风格指南,用几十条简短规则讲如何让技术文章更清晰、更好读。

      博客与个人写作2018 · 495 分 · 188 评4 条写作要点编辑精选
    4. 十年职业博客写作,我学到了什么

      Ten years of professional blogging – what I’ve learned

      这是作者回顾十年专业博客写作经验的总结,评论补充了写作作为深度学习、聚焦主题、保护写作习惯和选择发布平台等实践。

      博客与个人写作2017 · 362 分 · 126 评4 条写作要点编辑精选
    5. 十年博客写作教给我的事

      What I learned in ten years of blogging

      这是一篇博客作者十年写作经验总结,核心观点是写作的价值在于持续积累而非单篇爆款。

      博客与个人写作2018 · 356 分 · 162 评4 条写作要点编辑精选

    打赏支持

    打赏二维码

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

    WeChat

    关注向阳乔木

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

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

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