TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Design for readability – A primer on code typography

11 pointsby ameyakarveover 7 years ago

2 comments

magnatover 7 years ago
&gt; Lexicographical sorting by class-name to make things easier to find<p>This is weird. I&#x27;ve never encountered (or noticed) ordering parameters by their type names. Semantic ordering (subject, object, adverb, optionals) makes more sense to me - especially if you see type names only once at declaration, but have to guess&#x2F;deduce parameters order at every call site.
评论 #15893496 未加载
评论 #15893654 未加载
评论 #15893529 未加载
kqrover 7 years ago
I really like the look of that right-aligned thing and I wonder if it works in practise. Any way to get Emacs to do that for me?
评论 #15895514 未加载