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.

On Tolerating Complexity

37 pointsby leosteraalmost 5 years ago

6 comments

foucalmost 5 years ago
Captures the nightmare of trying to blog something as a web developer.<p>Step 1 - Set up your own custom blog<p>Many steps later..<p>What happened? Who am I? What did I even want to write about?
评论 #24057522 未加载
评论 #24057745 未加载
评论 #24061860 未加载
评论 #24058556 未加载
n0walmost 5 years ago
The argument about tolerable complexity definitely resonated with me.<p>However, I think the author may have failed to consider that the people using Gatsby&#x2F;Next&#x2F;etc. for their personal blog aren&#x27;t necessarily doing so because they believe it is the best tool for the job. It&#x27;s might be a good excuse to explore some new technology. Other times it could be the tool someone is most familiar with.<p>As for the solution, I believe existing tools like make could have solved the &quot;rework&quot; problem.<p>For reloading, I&#x27;m not sure I understand the leap from &quot;I need to inject some JavaScript&quot; to &quot;I need to be able to parse a HTML document&quot;. If you&#x27;re already replacing placeholders in the template with your content, why not another with some JavaScript?<p>There&#x27;s also an interesting trend happening with development tooling like Snowpack and Vite. Instead of recompiling your assets when things change, why not let the HTTP server compile them on the fly? You don&#x27;t need to worry about dependency graphs because the browser will request the assets it needs. Your development server can send events when a requested asset is touched and some injected JavaScript can handle the reloading.
评论 #24061454 未加载
AstralStormalmost 5 years ago
And then the whole solution dies because it&#x27;s slow and not scalable due to the hot reloader plus number of users.<p>A CDN is pulled in holding a list of changes or something, adding yet more complexity that could have been avoided using a performant caching web server in the first place, and a properly implemented hot reloader. (Well into millions of requests.)<p>Naivete is not well rewarded on the web.
评论 #24058028 未加载
Jyaifalmost 5 years ago
Side note: It&#x27;s a pretty website, but the text is quite hard to read. Note necessarily a problem if you want to filter out people that favor content over form, just something to be aware of.
kaspernialmost 5 years ago
Can someone explain what point the author is trying to prove?<p>That a custom build framework with a limited feature set. Has less complexity than a general framework with more features?
6510almost 5 years ago
I just write in html.