It's important for programmers to challenge themselves.
Creative and technical stagnation is the only alternative.
In the spirit of the new year, I've compiled twelve month-sized resolutions.
Each month is an annually renewable technical or personal challenge:
Read on for my suggestions.
Programmers obsess over the discrete and the digital well past the point of diminishing returns.
Thus, small investments in the analog yield comparatively large gains.
Here's a starter list of analog activities to try, each of which takes about a month of dedicated effort to transition out of the novice (and into the seasoned beginner) stage:
Programmers tend to live sedentary lives, and we face unique health challenges from our occupation.
We tend to ignore these challenges.
Spend a full month each year tuning your exercise, diet and environment to promote durable healthy habits.
Go to a clinic each year to get your blood pressure, cholesterol and blood sugar checked. Watch how these values change over time.
If your wrists are starting to hurt or have been hurting, stop now and take action to combat RSI.
Focus on improving your posture, with an emphasis on your shoulders and neck. I use a posture corrective brace to help:
Track your weight, caloric intake and caloric burn. If necessary, reshape your lifestyle to promote healthier eating and weight loss.
Since my early twenties, I've looked at my older peers and tried to figure out why some stagnate and how others stay vibrant.
The answer is comfort.
Comfort breeds technical fossilization.
We find a system that works for us, and we stick with it.
But, technology advances, and those that stay in their comfort zone never realize the gains from these advances.
Practice becoming comfortable with being uncomfortable.
Here's a list of things that might make you uncomfortable at first:
After a month of doing something different, decide whether you want to keep doing things differently or whether there are ways to blend the best of the new and the old.
For instance, when I switched to vim after ten years of emacs, I set up the emacs-style key-bindings for insertion mode but kept vim.
Programming languages rise and fall.
Programmers that only know one language will restrict their problem-solving abilities and their career prospects.
Spend a full month absorbing a new language or a new language paradigm.
Write a modest program in it.
Here are a few less mainstream languages to learn:
If you're out of programming languages to learn, implement one.
The most powerful underexploited skill programmers possess is the ability to automate both the virtual and the physical.
If you've never built a robot, build a robot.
At the very least, play with Lego Mindstorms:
or hack on an Arduino board:
Survey the routine tasks you perform, and determine which can be automated in full or in part.
Home automation technology has advanced considerably, and much is possible with DIY systems like Insteon.
Take a month to invest in an automation project:
At its heart, computer science is a mathematical discipline.
Good mathematicians make good programmers.
Do not let your mathematical faculty wither.
Consider an annual one-month brush-up on one of these topics:
Few programmers practice good security habits.
If you're conscious of your own digital security, you'll be more conscious of the security of the code you write.
Check that you're using unique, strong passwords for every site.
Manage your passwords with an encrypted password manager likePasswordSafe or KeePassX.
If you don't already practice whole-disk encryption, set aside time to do it. (On a Mac, it's painless to set this up.)
Each year, study the top ten vulnerabilities for the past 12 months. How did they happen? What coding practices could prevent them in your code?
Here are other security tasks you can try out:
Each year, spend time reviewing your backup strategy.
Invest a month in minimizing the cost of making backups.
With cloud-based backup services like Mozy and Carbonite, seamless automatic backup is easy to set up.
Opt for defense in depth by assigning an individual hard drive to each computer and enabling automatic backups with tools like Time Machine.
Keep critical files in version control with a geographically remote repository.
Computer science has rich theoretical structure.
Keep abreast of new developments and renew your mastery of the classics.
Spend a month each year on topics like the following:
For starters, you might want to take a look at these posts:
Engineers tend to look down on the arts.
What engineers fail to realize is that the arts and humanities augment technical excellence.
Steve Jobs was fond of pointing out the importance of connecting technology and the humanities, and rightly so.
Art and design have principles applicable to human-computer interaction.
Don't be ignorant of these principles.
Practicing the arts and humanities trains and sharpens intuition in a way that is difficult to quantify.
Engineers need to learn how to measure what they can't count, instead of counting only what they can measure.
For at least one month per year, learn more about topics like the following:
Social sciences have much to offer computer scientists as well. Try economics and psychology in particular.
A good way to get ideas for your own software is to learn a new application or a new kind of application.
For instance, if you've never used 3D modeling software, try Blender.
Or, if you've never learned LaTeX, give it an honest effort.
As you learn, note what you like and don't like.
Ask yourself honestly whether these observations are reflected in the software that you create.
It's hard to spot bad practice in your own work, but easy to spot in others'.
No parent ever had an ugly child.
Learn to recognize your ugly children.
If you spend all day writing code for someone else, remember why you became a programmer by writing a program for yourself.
Spend a month each year on a project of your choosing.
Bring the nucleus of that project to fruition.
Open source it and release it to the world.
This page is also available in:
对程序员来说,挑战自己很重要,没人甘心在创意或技术上停滞不前。犹他大学计算机教授 Matt Might 分享了他的年度计划,引发了很多人的共鸣。
1. 感受线下生活
当你感觉生活被网络束缚,所得渐渐变少时,请尝试对线下生活(例如烹饪、天文和木工)多投入一些精力,可能有意想不到的收获。
2. 保持健康
程序员时常久坐,这让我们容易受到一些特有的健康问题困扰,却又往往视而不见。用一个月时间养成一项健身习惯,也别忽视身体的警告。
3. 拥抱不适
在我二十出头时,曾经研究年长者为何有人不断进步,有人停滞不前?答案是“舒适”。我们习惯找到一个适合自己的系统就不再改变,但技术不是这样。
4. 学门新编程语言
只会一门编程语言将限制自己解决问题的范围,职业生涯也会少了一些选择。用一个月时间学一门新语言(如 Racket、Haskell、OCaml)或新的编程范式吧。
5. 自动化
程序员身上最没有充分发挥的潜力是像在虚拟世界那样,让真实世界也实现自动化。试着用一个月的时间研究下机器人、Arduino,以及类似 Insteon 的系统是件有意思的事。
6. 学习数学
计算机科学的核心是数学法则,更好的数学技有助于成为更优秀的程序员。尝试系统学习一下逻辑、离散数学和统计学。
7. 关注安全
很少有程序员养成了良好的安全习惯,试着用密码管理器保存和生成密码,研究一年中影响最大的安全事故是怎样发生的。
8. 备份数据
每年都用一段时间检验你的备份策略,研究如何让这套系统成本更低,使用更便捷。对于关键文件要使用版本管理系统。
9. 学习新软件
为自己开发的软件增加创意的一个方式是,学习其他新软件。如果你没尝试过 3D 建模,那么可以学 Blender;若你不会 LaTeX,很值得尝试。
10. 完成一个个人项目
倘若你一直在为别人开发软件,那何不为自己也写一个呢?花一个月的时间完成它,然后把它开源。