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.

Ask HN: Are Frameworks the Way to Go?

5 pointsby alumalmost 17 years ago
As both languages are new to me, I completed tutorials, scanned through a couple of books on the Safari Books Online site regarding both Ruby and Python (day job is .NET work). Though both were nice, I enjoyed Python a little more.<p>I have an idea for a website that I think may be able to help folks out a bit, it could be considered a startup I suppose, but ultimately I am aiming to gain ‘real’ experience in the language that may be applicable in becoming a developer for a startup.<p>Which leads me to my questions, are frameworks ultimately the way to go and are most startups using frameworks? Also, both django and pylons are both appealing; I won’t ask a broad question like which one is better, but simply ask for any advice for selecting one instead of the other (or another one that I may have overlooked)?<p>Thanks.

4 comments

richcollinsalmost 17 years ago
In my opinion, you should only use a framework if you have a deep understanding of how it will benefit the specific problem you are trying to solve.<p>Good frameworks have a sweet spot. If you are outside of the sweet spot, then you will probably be better served writing code specific to your application. When you write your own solution for your specific problem, it is almost always smaller, faster and more flexible.<p>Bad frameworks try to be everything to everyone. Don't even consider a bloated, "general" solution.
mechanical_fishalmost 17 years ago
It all depends on what you're trying to build.<p>If your application fits well into (e.g.) Drupal or Wordpress it might not make sense to reinvent those wheels.<p>If you're mostly trying to educate yourself Ruby or Python will be great. Building tiny sites or individual modules without a framework is educational, but, yes, generally people gravitate toward frameworks or modular systems once they need productivity.
parenthesisalmost 17 years ago
If you like Python, you might want to consider web.py too: <a href="http://webpy.org/" rel="nofollow">http://webpy.org/</a>
评论 #254862 未加载
edw519almost 17 years ago
You answered your own question when you said, "both languages are new to me".<p>Then you should not be using a framework just yet.<p>Sure, a framework <i>may</i> speed your app along, but at what cost? At this point, you should be more concerned with getting a solid grounding in your technology of choice. That means coding as close to native mode as possible.<p>Once you have spent time "in the trenches" and even "suffered" a little, you'll have a much clearer picture of exactly <i>why</i> you may need a framework. Then you'll be in a much better position to evaluate which one is best for you.<p>In the meantime, have as much fun as you can.
评论 #254883 未加载