TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ASK HN: How to be a better programmer?

30 点作者 sid6376将近 15 年前
I am a 24 year old guy who recently had an epiphany that the field i accidentally landed up in(programming) might just be what's my calling. But i want to get better at it than i already am today which frankly is not much. and i need your help. I read this article by Peter Norvig in college http://norvig.com/21-days.html and have tried to follow it as a manifesto. Specifically i want to ask these particular questions? 1. What blogs/books i can read on a daily basis to get a little better every day? 2. As i have a fulltime job which occassionally stretches into 12-16 hour workdays can i contribute to open source in a meaningful way? Or will working on a problem which i face is the better solution. 3. Any other tip that you might have, which you follow yourself or have seen someone doing that helps me towards this goal.<p>Any help would be greatly appreciated.

12 条评论

fierarul将近 15 年前
My 2c:<p>#1 Try cutting down on blogs. There is really no need to read them daily.<p>#2 Try to include open-source patching into your actual fulltime job (of course, management has to agree with this, etc). If you already work 12-16 hours per day, don't burn yourself by trying to do open-source on the side.<p>#3 Follow the good programmers nearby. This means move the the team that has the best coders and best practices. Externally, go to user meetings and occasionally have your company pay for big conventions.
dkersten将近 15 年前
Ways to become a better programmer:<p>- Practive! The more you program, the better you become. The harder the thing you program, the better you become. This is the single most important thing you could do. All the great programmers I know program outside of work, in their own time. That is, they take an interest in programming and practice even when they don't _have_ to.<p>- Read code wrtten by people better than you. This will inspire you and give you ideas on how to improve your own code.<p>- Go to local user groups or meetups. Meeting other programmers outside of work will give plenty of opportunities to improve, by talking about ideas, showing each other projects or code or by working on projects together. If the group also does talks/presentations/tutorials, then you have even more opportunity to learn new things and improve.<p>- Learn new programming langauges is a good way of improving your programming skill, as long as the programming languages you learn are all different. For example, if you know Java, you won't get a lot out of learning Java and if you know Ruby, you won't get much out of learning Python etc (unless you want to use a specific library for those languages). However, learning something completely different, like Haskell or prolog or Common Lisp would help make you a better programmer. Basically, learn a language that is of a different paradigm than the ones you already know. The language itself might not be useful to you, but the concepts, techniques and ideas of those lnaguages will improve your programming skill.<p>- As far as books go, people have different tastes. Most people will recommend the classics (Structure and Interpretation of Computer Programs; The Art of Programming, Code Complete, The Pragmatic Programmer and so on). They're good books, but may or may not be what you want.<p>- You can contribute as much or as little to open source projects as you want or have time for. Even just fixing a bug here and there is beneficial to the project, so find yourself a project that interests you and contibute what you can - but don't worry too much it if you find you don't have enough time. Understanding other peoples code and fixing their bugs is a great way to improve your own skill.<p>- Blogs.. I don't know. Its definitely a matter of taste. Keep reading articles linked by Gacker News and other such sites and bookmark blogs whos articles you like. Or go on stackoverflow.com and find people who post great answers - they may have blogs that would interest you. Bascially, try and find intelligent people who post about things that interest you.<p>Anyway, good luck!
评论 #1584234 未加载
评论 #1584078 未加载
评论 #1584368 未加载
评论 #1583739 未加载
matthewphiong将近 15 年前
Practice makes perfect. The more you code, the better you become.<p>From my experience, reading books is one thing but if you didn't make your hands dirty, it's nothing. My advice would be, if you are really new to programming go learn the basics and get your hands dirty ASAP.
评论 #1583522 未加载
biggitybones将近 15 年前
This was posted a few weeks ago: <a href="http://samizdat.mines.edu/howto/HowToBeAProgrammer.html" rel="nofollow">http://samizdat.mines.edu/howto/HowToBeAProgrammer.html</a><p>Lot's of good stuff in there.
评论 #1584354 未加载
petervandijck将近 15 年前
Program tiny, but real, things in technologies you're not familiar with. They have to be tiny (to avoid a long list of unfinished projects, and because you learn more from finishing things), and they have to be real (ie. something that at least 1 person can actually use).
评论 #1583736 未加载
评论 #1584367 未加载
WCC将近 15 年前
- Practice. Yeah, other people said it. It's that important.<p>- Find a mentor. You'll improve slowly just from practice, but finding a mentor will force you to get up to their level at a much quicker pace.<p>- Read things. Books, blogs, whatever. If you have an active interest in it, read it.<p>- Use new technologies. Never heard of Node.js before? Stop and figure out what it is. Try it. Even if you hate it, you will have been better for learning about it. (Node.js is just an example I pulled out of thin air. This applies to ANY new programming thing you read about and is new.)<p>- Get a job. Even if it's a crappy programming job, nothing makes you learn faster than having a boss telling you to do things faster and better.
shawndumas将近 15 年前
Man cannot understand the perfection and imperfections of his chosen art if he cannot see the value in other arts. Following rules only permits development up to a point in technique and then the student and artist has to learn more and seek further. It makes sense to study other arts as well as those of strategy.<p>Who has not learned something more about themselves by watching the activities of others? To learn the sword study the guitar. To learn the fist study commerce. To just study the sword will make you narrow-minded and will not permit you to grow outward.<p>-- Miyamoto Musashi, "A Book of Five Rings"
评论 #1584362 未加载
pdelgallego将近 15 年前
Read this books and watch this video lectures.<p>* Introduction to Algorithms (SMA 5503) <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/video-lectures/" rel="nofollow">http://ocw.mit.edu/courses/electrical-engineering-and-comput...</a><p>* Structure and Interpretation of Computer Programs (aka SICP) <a href="http://www.youtube.com/watch?v=2Op3QLzMgSY" rel="nofollow">http://www.youtube.com/watch?v=2Op3QLzMgSY</a>
weaksauce将近 15 年前
<a href="http://projecteuler.net/" rel="nofollow">http://projecteuler.net/</a> is a good way to go through and learn a new language. Focus is on programming, algorithms and the mathematical tricks associated with paring down the number of things you should be searching through.
kschua将近 15 年前
Two books I recommend<p>1) Head First Design Pattern<p>2) Effective Java (Joshua Bloch). The principles in this book can be applied to almost any programming language not just Java
purpledove将近 15 年前
I recommend A. K. Dewdney's "The New Turing Omnibus". It is a series of articles and is very easy to dip into.
noodle将近 15 年前
practice (keep coding, work on your own projects, work on projects with others), and go find someone who you know to be "good" and read their code.<p>it really is about that simple.