Subtracting Until the Product Appears一直做减法,直到产品真正长出来
Three times I deleted the flashiest feature in a project, and each time the real product finally showed up.三次删掉项目里最炫的功能,每一次,真正想做的东西才露出来。
When you build a personal project from scratch, the first version almost always wears a costume. You reach for the most technically impressive metaphor you can pull off—a simulated command line, an interactive 3D globe, a filterable card grid with live status widgets—because building a hard interface feels like proof that the project matters.
Part of that instinct is understandable. When you are a student or an early-career engineer, you want visitors to notice within three seconds that you know how to ship something non-trivial. A bare page of text looks suspiciously easy to build; a spinning WebGL sphere or a custom terminal parser announces your effort loudly before anyone reads a single sentence.
Three times over the last year, I ended up deleting the flashiest part of a project I had already shipped. Each time, I expected the result to feel smaller, quieter, maybe even underwhelming. Instead, it felt as though the real product had been hiding underneath the whole time, waiting for me to get the interface out of its way.
Deleting the terminal from my own site
The earlier version of yflong.dev tried to do everything a developer portfolio is supposed to show off. Opening the site triggered a terminal boot sequence persisted in sessionStorage. Visitors could type commands into a custom dispatcher split cleanly across hooks, registries, and renderers. Around the site sat glass surfaces, an embedded algorithm playground, and a live /status dashboard tracking incidents across my personal services.
On paper, every one of those pieces had a defensible rationale. The terminal reflected how I actually worked day to day. The status page signaled that I cared about uptime and operational transparency. I even wrote short blog posts explaining why those features belonged on a personal site.
In practice, the widgets slowly began to overshadow the work they were supposed to introduce. Nobody visiting a portfolio wants to type help to discover what you built, and nobody reading a research write-up cares about a synthetic uptime badge floating beside it. Worse, the decorative shell created a quiet excuse for thin writing: when the page looks intricate, it is easy not to notice that the project descriptions underneath are only two paragraphs long and the blog is padded with generic tutorials.
Stripping the site back to warm ivory paper, Newsreader set at its 24pt optical cut, a single 38.75rem reading column, and two plain lists—Projects and Writing—removed that hiding place overnight. Once there were no terminals, cards, or status dashboards left to admire, the writing and the actual engineering work had to carry the entire room by themselves. Almost immediately, it forced me to rewrite every major project page from first-hand notes and delete six legacy posts that no longer met the standard of the page holding them. Removing the chrome did not just simplify the CSS; it raised the bar for everything inside the site.
Refusing ratings and glass cards in Wan's Dine
Wan's Dine went through the exact same shedding process, only this time the costume wasn't a developer cliché—it was a food-app cliché.
Almost every food website on the internet is organized around one consumer question: is this restaurant worth going to? The interface writes itself from there—five-star badges, price tiers, cuisine filter pills, top-ten lists, and brisk verdicts designed to help a stranger choose dinner in thirty seconds. The first version of Wan's Dine quietly copied those habits: a monochrome, monospace photo gallery with a rainbow tagline, vertical labels, and colored filter dots.
The problem was that I had zero interest in reviewing restaurants. Moving between Guangzhou, Hong Kong, Shanghai, Yunnan, Toronto, and Vancouver had left behind a camera roll of tables, bowls, and late-night stops that meant something much quieter: when we leave a place, what still allows it to feel like home?
Before touching a single layout in the redesign, I wrote an editorial story bible to make the product boundaries explicit. Star ratings were banned. Restaurant verdicts were banned. Even the temptation to smooth over imperfect memory was banned. Across 34 entries, same-day outings were merged into single pieces rather than padded into separate cards—Moon Palace dim sum followed by Butter Baker soft serve in Toronto, or Sing Heung Yuen's tomato broth in Central followed by The Matcha Tokyo in Causeway Bay. When a date tied to a real event, we verified it, like lunch at Kimchi Korea House on 8 July 2022 during Canada's nationwide Rogers network outage, when a day without phones turned into a long walk past Toronto General Hospital to Queen's Park. And when memory was genuinely missing—the forgotten dish names from an omakase evening at Mhel, or the unrecorded occasion behind dinner at La Castile—the writing left the gap intact instead of inventing atmosphere.
Once you stop pretending every meal deserves the same template, a uniform grid of cropped cards stops making sense. The site shifted to three deliberate forms matched to the material actually available: essay (800 to 2,000 words), note (150 to 500 words keeping one evening intact), and fragment (one photograph, one sentence, a date, and a place that give the homepage silence and breathing room).
The visual system needed the same boundary. I wanted the tactile polish of Liquid Glass alongside the unhurried poise of print, and those two instincts fight each other the moment you put frosted glass behind long-form prose. Drawing one non-negotiable material rule—glass is interface; paper is content—resolved the conflict immediately. Liquid Glass stayed strictly on two shapes (pill and panel) for floating controls: the top menu bar, carousel controls, and gallery viewer chrome. Everything meant to be read moved onto warm uncoated paper paired with Instrument Serif display headings and Geist Sans body text, while mobile menus fell back to solid warm paper and reduced-motion modes disabled SVG displacement altogether.
Every time a design feels busy, it is rarely because you are missing a component. It is usually because the interface is competing with the thing the user actually came to look at.
Trading a 3D globe for a millimetre-scale room key
The sharpest subtraction happened in Been There Series. Version one plotted hotel stays onto a spinning 3D WebGL globe using Three.js and react-globe.gl, complete with floating emoji pins that bounced or glowed depending on whether you had visited.
It looked great in a screenshot and felt fun for about ten seconds. Then the real friction set in. Three.js was heavy to load and awkward to lay out beside search and statistics panels. On phones, pinching a 3D globe collided so badly with scrolling sidebars that the app had to put up an honest warning telling visitors on viewports narrower than 64rem to come back on a desktop or tablet. Most importantly, a glowing pin on a spinning sphere never actually felt like staying at a hotel. It felt like a flight map wearing hotel data.
What actually stays in your pocket after checking in is the room key: a crisp plastic card, a woven resort wristband, a wooden tag, a leather fob, or a heavy brass metal key.
Rebuilding Been There Series meant deleting Three.js and the 3D globe completely—leaving zero runtime dependencies beyond React 18 itself—and flipping the product into a tactile room-key collection. Each hotel card now leads with its name and city, followed by its room key resting on a shared 130 × 104 mm CSS container-query stage (1 mm = 0.769 cqw). Because every key shares that single physical scale, a standard 85.6 × 54 mm card genuinely looks larger than a 38 × 38 mm token or a 32 × 44 mm key fob, and narrower than a 118 × 22 mm wristband or a 34 × 98 mm wooden tag.
Uncollected keys never spoil the reveal: transparent-background PNG photographs become soft grey silhouettes through CSS mask-image, while properties without photos yet render as dashed geometric outlines with nothing printed on them. Pressing I stayed here runs a 1.9-second lock animation calibrated in real millimetres—electronic keys slide 14 mm right and 5 mm down to tap a dark reader until its red LED flips green; brass metal keys slide 12 mm into a keyhole, turn flat, turn back, and pull out while the keyhole ring flashes green. Once unlocked, the key lands in a KeyTray in the header at 0.6 px/mm with a small deterministic hand-placed tilt, and clicking any key in the tray resets active filters and scrolls straight back to its hotel.
Once the globe was gone, the whole product snapped into focus. It worked on phones without apology, needed only one accent color across both light and dark themes (the lock reader's green light, echoed in the pinging full stop of the been there. wordmark), and finally felt like a personal object with a point of view instead of a WebGL demo.
What subtraction is not
It is easy to misread subtraction as minimalism for its own sake—stripping everything down to stark white pages with zero personality and calling it taste. That isn't what made any of these three redesigns work.
In all three projects, deleting the noisy foreground feature freed up room to put the craft where it actually belonged: underneath the surface and inside the subject itself. In Wan's Dine, that meant building a Sharp static photography pipeline that strips EXIF and GPS coordinates from raw iPhone originals, flags 360×360 low-resolution shots so they can never stretch into a full-bleed hero, and validates size budgets in CI. In Been There Series, it meant modelling seven room-key kinds to real millimetres in container units, respecting prefers-reduced-motion, and replacing browser alert modals with an inline four-second two-step clear confirmation. In yflong.dev, it meant letting typography, footnotes, and honest project histories do the work that a fake command line used to distract from.
Quiet interfaces are not empty interfaces. They are interfaces that stopped spending their visual budget on themselves so the subject could finally breathe.
Two questions before keeping a feature
Across all three projects, the feature I was proudest of in week one turned out to be the feature standing between the visitor and the actual subject in month three. It took deleting a terminal, a rating grid, and a 3D globe to recognize the pattern while I was still in the middle of building.
Now, before I keep a clever interaction or visual flourish, I try to ask two plain questions borrowed partly from the decision checklist I wrote for Wan's Dine. First, does this serve the subject—the essay, the meal, the room key—or is it mainly serving my urge to prove I can build it? Second, if I stripped the logo off the page, would the remaining structure still feel unmistakably like this specific product? Whenever a feature fails those two checks, deleting it has never once made the work worse.
从零写个人项目时,第一版几乎总会先套一层华丽的壳。写个模拟命令行、搭颗会转的 3D 地球、堆一屏带实时状态的卡片墙,总觉得界面做得够复杂,项目才显得有分量。
这种心态其实很好理解。还是学生或者刚入行那会儿,总盼着访客点进来三秒就能看出你有点东西。白底黑字太素了,看起来像随手糊出来的;反倒是转起来的 WebGL 球体、敲进去能回显的伪终端,还没等人读完第一行字,就已经替你把工作量喊了出来。
过去一年,我先后三次把已经上线的项目里最炫的那块删掉了。每次动手前都犯嘀咕,怕删完显得寒酸、单薄。结果恰恰相反:多余的界面一撤掉,底下那个真正的产品反倒自己浮出来了。
从个人网站里删掉终端
早期的 yflong.dev 几乎把开发者作品集能炫的招全用上了。进站先跑一遍开机动画,状态存在 sessionStorage 里;页面里嵌着命令行,背后拆了 hooks、注册表和渲染器三层;旁边还挂着毛玻璃卡片、算法演练场,外加一个盯着个人服务故障的 /status 状态页。
单独拎出来讲,每个功能都说得过去。终端贴近我平时的开发习惯,状态页能证明我在意服务稳定性。我甚至还专门写了两篇博客,认真论证个人网站为什么该做这些。
真用起来却是另一回事。花在维护这些花活上的精力,慢慢盖过了它们原本要展示的作品。没人打开一份作品集,是冲着先敲一句 help 才看到你做过什么的;看项目复盘的人,也不需要旁边挂着一块模拟在线率。更要命的是,复杂的壳子会掩盖内容的单薄。页面看着很满,就很容易忽略底下每个项目其实只写了两段话,博客里塞的也是随处可搜的通用教程。
后来我干脆把整站削回暖米白纸底、24pt 光学字号的 Newsreader 字体、一条 38.75rem 宽的单栏正文,首页只留「项目」和「文章」两张素净列表。遮羞布一掀,能靠的就只剩文字和作品本身。这一刀下去,逼着我翻出原始笔记重写了全部核心项目页,顺手清掉了六篇早就不配留在这儿的旧文章。砍掉装饰不只是让 CSS 变轻,更把站里每一段字的标准拉高了一截。
在 Wan's Dine 里拒绝评分与毛玻璃
Wan's Dine 经历过几乎一样的蜕变,只是这一回脱掉的不是工程师套路,而是美食网站套路。
网上绝大多数美食站都在回答同一个问题:这家店值不值得吃?界面也就顺理成章长成一个模子:五星打分、人均价位、菜系标签、必吃榜,帮陌生人在三十秒内拍板晚饭。第一版 Wan's Dine 也在不知不觉中照搬了这套东西,黑白等宽字体铺满图墙,顶着彩虹标语、竖排标签和彩色筛选圆点。
可我根本没打算点评餐厅。在广州、香港、上海、云南、多伦多和温哥华之间来回奔波,手机相册里攒下一堆餐桌、汤碗和深夜小馆。它们留住的不是哪道菜打几分,而是一个安静得多的问题:离开一个地方以后,是什么让它依然像家?
重构动笔之前,我先写了一份编辑手册,把规矩定死。不打星,不下好坏定论,更不替残缺的记忆编故事。全站 34 篇记录里,同一天的行程合写成一篇,不为了凑数拆成好几张卡片,比如多伦多先去 Moon Palace 喝早茶、再去 Butter Baker 吃软雪糕,或是香港中环胜香园喝完番茄汤、顺路去铜锣湾吃 The Matcha Tokyo。能和现实事件对上的日期就去核实,像 2022 年 7 月 8 日加拿大 Rogers 全网大断网,那天在 Kimchi Korea House 吃完午饭,手机彻底没信号,反而走过医院一路散步到了 Queen's Park。真忘了的细节就坦坦荡荡留白:Mhel 那顿接近 omakase 的晚餐叫不出菜名,La Castile 那晚原本庆祝什么也没记下来,那就按记不得来写,绝不杜撰气氛。
既然每顿饭的分量本就不一样,统一裁切的卡片墙自然立不住。内容改按真实留存的素材分成三种体裁:essay 是 800 到 2,000 词的完整叙事,note 用 150 到 500 词留住一个夜晚,fragment 干脆只有一张照片、一句话、一个时间和地点,在长短文之间留出沉默的空拍。
视觉上同样得划清界线。我既喜欢纸质刊物不慌不忙的质感,又想要 Liquid Glass 的通透触感,但这两种东西混在一起很容易打架。毛玻璃一旦垫在正文后面,对比度立刻掉下来,读着累眼,整页也滑向了界面演示。后来我定了条死规矩:玻璃只做界面,纸张只承内容。 Liquid Glass 严格收束在悬浮控件的胶囊和面板上(顶栏菜单、轮播按钮、图集查看器工具条);凡是要读的字,一律落在暖色无涂布纸底上,配 Instrument Serif 衬线标题与 Geist Sans 正文。手机端展开菜单直接换回实体暖纸,开启减弱动态效果时干脆关掉 SVG 位移滤镜。
页面显得乱,很少是因为缺了某个组件,多半是界面正在和用户真正想看的东西抢戏。
删掉 3D 地球,换回毫米比例的房卡
动刀最狠的一次在 Been There Series。第一版用 Three.js 和 react-globe.gl 做了颗旋转的 3D WebGL 地球,住过的酒店插上会弹跳发光的 Emoji 图钉。
截图发出去确实好看,点开前十秒也觉得好玩。但用不了多久毛病就全露出来了:Three.js 很沉,和侧边搜索栏、统计面板摆一块总显得别扭;放到手机上更糟,双指缩放地球和滑侧边栏互相抢手势,最后不得不给宽度小于 64rem 的屏幕弹一行提示,劝人换电脑或平板再看。最根本的问题是,球面上一颗发光小点,完全给不了你「住过这家酒店」的实感,看着更像张硬套酒店数据的航线图。
退房之后真正揣在兜里的,其实是房卡:一张塑料卡、一条度假村编织手环、一块木牌、一枚皮吊牌,或者一把沉甸甸的黄铜钥匙。
重构 Been There Series 时,我把 Three.js 和整颗地球删得干干净净,运行时依赖只剩 React 18 自己,把整个站点翻成一套实打实的房卡收藏。每张酒店卡先写名字和城市,中间摆一张落在统一 130 × 104 mm CSS 容器舞台(1 mm = 0.769 cqw)上的房卡。所有房卡共用同一把物理尺子,所以 85.6 × 54 mm 的标准卡看起来就真的比 38 × 38 mm 代币或 32 × 44 mm 钥匙扣大,也比 118 × 22 mm 手环或 34 × 98 mm 木牌窄。
还没住过的酒店不提前剧透:有透明底 PNG 实拍图的,用 CSS mask-image 化成一片柔和灰影;暂时没照片的,只画对应品类的虚线轮廓,上面不印字。点下 I stayed here,舞台会播一段按真实毫米算好位移的 1.9 秒开锁动画:电子卡向右移 14 mm、下移 5 mm 轻触读卡器,直到红灯翻绿;金属钥匙向右推入锁孔 12 mm、拧转、回正再拔出,锁孔环跟着亮绿。解锁后,迷你房卡按 0.6 px/mm 落进顶栏 KeyTray,带着一点固定的随手倾角。点托盘里任何一张卡,就会清空筛选,平滑滚回对应酒店。
地球一撤,整个产品立刻立住了。手机端不用再道歉,浅色深色两套主题只需要唯一一个强调色(读卡器的绿灯,也呼应着顶栏 been there. 末尾每次签到闪一下的小绿点)。它终于不再像个 WebGL 演示,而是成了一件有自己脾气的小物件。
减法不是空无一物
说起做减法,很容易被理解成「越素越好」,把页面扒成一张毫无个性的白纸再冠以极简之名。这三次重构能站住脚,靠的不是这个。
把表面喧宾夺主的花活删掉以后,精力才能真正花到该花的地方:藏进底层工艺,也贴近内容本身。在 Wan's Dine 里,这意味着写一套 Sharp 静态图片管线,把 iPhone 原图里的 EXIF 和 GPS 信息剥得一干二净,标出 360×360 的小图不让它误撑进全屏头图,还在 CI 里守住体积上限。在 Been There Series 里,这意味着用容器单位按真实毫米给七类房卡建模,照顾 prefers-reduced-motion,用底部四秒内联二次确认换掉生硬的浏览器弹窗。在 yflong.dev 里,则是让排版、脚注和诚实的复盘文字挑大梁,不再指望假命令行撑场面。
安静的界面并不空洞。它只是不再把视觉预算耗在自己身上,好让真正的主角喘口气。
留住一个功能前,先问自己两句话
回头看这三个项目,我在第一周最得意的点子,到了第三个月无一例外成了横在访客和内容之间的墙。亲手删过终端、评分墙和 3D 地球之后,我才学会在开发半路就警觉这种惯性。
现在每当我想加个巧妙交互或视觉巧思,总会先用两句大白话过一遍筛子(有一半直接借自 Wan's Dine 的编辑清单):第一,这东西是在帮主角说话(文章、餐桌、房卡),还是主要在满足我想证明「我写得出来」的虚荣心?第二,把页面上的 Logo 遮住,剩下的骨架还能让人一眼认出这是这个产品吗?过不了这两关的设计,删掉它从来没让作品变差过。