Small changes.
Clearer interfaces.
一点小改变,界面更清晰。
A good interface gets out of the way. Keep the context, make the next step obvious, and let people focus on what they came to do.
好的界面不会喧宾夺主。保留上下文,让下一步一目了然,读者就能专注于真正想做的事。
// Keep the code exactly as it is.
const greeting = "Hello, world!";
document.querySelector("h1").textContent = greeting;
Clarity is often a matter of keeping what matters, rather than adding more.
清晰往往来自留下真正重要的内容,而不是不断添加。