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.

Paul Graham RE: succinctness = power

60 pointsby prakashover 15 years ago

5 comments

andrewcookeover 15 years ago
not sure if i am saying the obvious here, but the reason that brevity is important is because it shows that you have the right abstractions. short code is a good indication that it's done right - you've found the best way to <i>express</i> the problem and so don't need to say so much handling the parts that you have not captured well.<p>if some languages are more verbose than others, then this can be for two reasons:<p>first, they may just need more typing to say the same thing. this is not, in my opinion, a problem.<p>second, they may lack ways of making abstractions that stop you from producing a good solution. that, in turn, leads to longer code (see above). this <i>is</i> a problem.<p>so "verbose languages" are not in themselves bad. the problem is languages that don't support easy / sufficient abstraction. and brevity is a quick n easy way of measuring this.<p>taking that further, and ignoring the practical issues, a strongly typed lisp might be more verbose if it required type annotations in some places. that wouldn't make it necessarily worse. in comparison, lisp without macros loses expressive power (in some vague sense) and so is worse (and gives longer code).
voxcogitatioover 15 years ago
I'm not sure i agree with graham on this one. Certainly it's useful and necessary to keep some brevity, however his jab at design patterns is a schoolbook false opposite (if you don't like extreme brevity you must be an enterprise java programmer, seems to be his subtext). That, and some lengh/repetition is useful to the brain's pattern recognition, allowing simpler understanding of code. There is of course also a point where too much repetition leads to a "can't see the code for all the statements" situation. Where exactly this point is is probably highly personal.
评论 #1143524 未加载
评论 #1144787 未加载
DanielBMarkhamover 15 years ago
It's a nit, but please! Put dates after re-runs and old essays. Save the rest of us some lost seconds clicking to stuff we've already read.
pinkoover 15 years ago
Too long.
Tawheedover 15 years ago
address@hidden #fail -- you forgot to hide the email addresses from the thread list at the end of the page.