程序员怎样学数学

150 views学习 3 Comments »

作者: Steve Yegge    译者: puto

I’ve been working for the past 15 months on repairing my rusty math skills, ever since I read a biography of Johnny von Neumann. I’ve read a huge stack of math books, and I have an even bigger stack of unread math books. And it’s starting to come together.

自从我读了Johnny von Neumann的传记,我已经为弥补我糟糕的数学技能花了过去的 15个月了.我已经读了大量的数学书籍,不过呢,似乎我还有更多没有读.当然我会接着 做的.

Let me tell you about it.

现在我就来告诉你这些.

Conventional Wisdom Doesn’t Add Up

这并不包括传统的智慧

First: programmers don’t think they need to know math. I hear that so often; I hardly know anyone who disagrees. Even programmers who were math majors tell me they don’t really use math all that much! They say it’s better to know about design patterns, object-oriented methodologies, software tools, interface design, stuff like that.

首先:程序员不认为他们需要了解数学.我常常听到这样的话;我不知道还有会不同意这 个的.甚至于以前是主修数学的程序员也告诉我他们真的不是常常使用到数学!他们说 更重要的是要去了解设计模式,面向对象原理,软件工具,界面设计,以及一些类似的东 西.

And you know what? They’re absolutely right. You can be a good, solid, professional programmer without knowing much math.

你了解吗?他们完全正确.你不需要了解很多数学你就能做个很棒,很专业的程序员.

But hey, you don’t really need to know how to program, either. Let’s face it: there are a lot of professional programmers out there who realize they’re not very good at it, and they still find ways to contribute.

但是呢,同时你也不是真的需要知道如何来编程.我们要面对的是:有很多专业的程序 员,他们认识到他们不是非常擅长数学,但他们还是寻找方法去提升.

If you’re suddenly feeling out of your depth, and everyone appears to be running circles around you, what are your options? Well, you might discover you’re good at project management, or people management, or UI design, or technical writing, or system administration, any number of other important things that “programmers” aren’t necessarily any good at. You’ll start filling those niches (because there’s always more work to do), and as soon as you find something you’re good at, you’ll probably migrate towards doing it full-time.

如果你突然觉得自己好烂,周围的人都远远的超过你,你会怎么想呢?好,你可能会发现 自己善于项目管理,或者人事3管理,或者UI设计,或技术写作,或者系统管理,还有许多 其他程序员不必去精通的.你会开始堆积那些想法(因为工作永远干不完),当你发现一 些你能掌握的东西时,你很可能会转移去全职的做这个工作.

In fact, I don’t think you need to know anything, as long as you can stay alive somehow.

实际上,我认为有些东西你不需要了解,当目前你还能够赖以生存.

So they’re right: you don’t need to know math, and you can get by for your entire life just fine without it.

所以他们是对的:你不需要了解数学,并且没有她你也能过的很好.

But a few things I’ve learned recently might surprise you:

但是最近我学到一些东西可能会让你也感到惊喜:
Math is a lot easier to pick up after you know how to program. In fact, if you’re a halfway decent programmer, you’ll find it’s almost a snap.

在你知道如何编程之后,数学是更容易去掌握.实际上,如果你是个半路出家的程序员的 话,你会发现这几乎是个snap.

They teach math all wrong in school. Way, WAY wrong. If you teach yourself math the right way, you’ll learn faster, remember it longer, and it’ll be much more valuable to you as a programmer.

学校里教数学的方式都错了.仅仅是教学的方法错了,不是教数学本身错.如果你以正确 的方式学习数学的话,你会学的更快,记住这会更长,但对你作为一个程序员来说也更有 价值.
Knowing even a little of the right kinds of math can enable you do write some pretty interesting programs that would otherwise be too hard. In other words, math is something you can pick up a little at a time, whenever you have free time.

哪怕了解一点点相关的数学知识就能让你写出可爱有趣的程序,否则会有些小难度.换 句话讲,数学是可以慢慢学的,只要你有时间.
Nobody knows all of math, not even the best mathematicians. The field is constantly expanding, as people invent new formalisms to solve their own problems. And with any given math problem, just like in programming, there’s more than one way to do it. You can pick the one you like best.

没人能了解所有的数学,就是最棒的数学家也不是.数学领域正不断的扩展,当人们发明 新的形式去解决自己的问题时.一些给出的数学问题,也正如编程,不止一种方法可以去 解决他.你可以挑个你最喜欢的.
Math is… ummm, please don’t tell anyone I said this; I’ll never get invited to another party as long as I live. But math, well… I’d better whisper this, so listen up: (it’s actually kinda fun.)

数学是……嗯,请别告诉别人我说过这个哈;当然我也不指望谁能邀请我参加这样的 派对,当我还活着的时候.但是,数学其实就是……我还是小声的说吧,听好了:(她其 实就是一种乐趣啦!)

Read the rest of this entry »

WordPress 2.3.1 简体中文版

195 viewsWordpress No Comments »

WordPress 2.3.1 已经发布多时了,这个版本修正了20多个 bug,还包括以下更新。

  • 支持通过 Windows Live Writer 添加 tag。
  • 解决了博客地址和 WordPress 地址不同时登陆的问题
  • 加快了分类(taxonomy )数据表的查询,尤其是标签之间的交叉查询
  • 修正链接导入问题

由于2.3还存在一些安全的问题,所以建议强烈建议更新 WordPress 2.3.1

WordPress 中文团队从昨天下午到现在一直在更新中文版并修正以前中文包中存在的问题,现在终于发布!
下载地址:http://code.google.com/p/wpcn/downloads/list

这个版本,我们将还会制作一个 Plus 版本的中文包,其中包括一些重要的插件及其汉化包,如果你制作了某个插件或者插件的汉化包,欢迎您向我们提交你的汉化包,最好能给我一个含有原版插件+中文包的压缩包的链接。 :-)

目前已经包含以下插件及其汉化包:

All in One SEO Pack
Simple Tags
Popularity Contest
Our Todo List
Subscribe To Comments
WordPress Database Backup
WP 2.3 Related Posts
Google Sitemap Generator
Nextgen Gallery
CopyrightFeed
Fanfou-Daily
WordPress 2.3 的可折叠式分类树插件
WP-DownloadManager
WP-PageNavi


WP Theme & Icons by N.Design Studio
沪ICP备07022004号
© Copyright 2007-2008 AaronMix. All rights reserved.

Entries RSS Comments RSS Log in