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.

Be lazy, build better systems

40 pointsby gingerjoosover 10 years ago

5 comments

mason55over 10 years ago
At some point your configuration just becomes code in a domain specific language. They talk about a new employee picking things up pretty quickly - it&#x27;s not because they used configuration instead of code, it&#x27;s because they have a sensible architecture.<p>If your &quot;configuration&quot; is powerful enough to do everything you need then it&#x27;s Turing-complete and is just &quot;code&quot; by another name. If it&#x27;s not powerful enough then you&#x27;ll need to drop down into the code layer pretty frequently anyway.
评论 #8534118 未加载
programminggeekover 10 years ago
The bigger question is, what do you do with the time you save? Are you just piling on more work?<p>The reasons you invent things to get rid of the crap work is so that you can do the work you really want to do. In my experience, people replace one pile of work with another and call it progress.<p>Only the rare few will automate the things they should, and truly live the freedom they have.
Glyptodonover 10 years ago
I think your post explains (perhaps unintentionally) why I&#x27;ve never really come to like working with Ruby on Rails as much as I liked working with Django. Or at least continue to feel less productive with it (despite liking Ruby).<p>Somehow the right amount of configuration seems to save a lot of work as compared to conventions that fall just short of actual need.<p>I think there&#x27;s a trap, though, that leads to the &#x27;convention over configuration&#x27; one-size-fits-all road, and it&#x27;s things that require loads of annoying, hard to manage, poorly structured configuration. (Things, like, for example, Apache, IMO.)<p>Though perhaps I&#x27;m just not good at determining when to write my own generators and when not to, I&#x27;ve also had Rails applications where I wrote a generic controller that covered a dozen-plus models and wondered why there couldn&#x27;t have just been a generic controller built in to begin with (it&#x27;s not like it&#x27;d preclude bumping things out of generic into their own controller if necessary).<p>I kind of wonder, too, if the evolution towards things like Docker&#x2F;CoreOS with stuff like etcd from more traditional Linux distros and virtualization might also be viewable as a trend from convention towards a &#x27;right amount&#x27; of configuration.<p>Just some off the cuff thoughts.
coldcodeover 10 years ago
Configuration over code is nice until there is so much configuration you need code to understand it. Also, if the configuration ever is wrong debugging is likely painful.
aqeelover 10 years ago
Every one knows the importance of DRY but only few follows it genuinely. This article is a good reminder.
评论 #8537329 未加载
评论 #8533637 未加载