程序员怎样学数学

149 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 »

一周军工路生活体验

145 views喜怒哀乐 No Comments »

左盼右盼,总算”熬”到了开学。

一周的生活感觉就是挺累的,很赶时间。早上8点上课,除了周一晚上和周五下午外,就是从8点上到晚上8点半……特别是晚上有选修的时候,4点40下课,6点开始选修课,期间要吃饭、洗澡等等其他一些琐事,弄到后面往往5点50从寝室出来去上课。晚上么,说是11点就睡觉,但晚上总归避免不了嘎珊瑚的,嘎伐嘎伐么又要到1、2点,然后到7点15分这段时间某兄又会时不时地讲讲梦话,嘿嘿。于是第2天课么就会犯困,但又要保持精神听(除了那戆嘿嘿的物理老师的课),所以一天整下来猴累猴累的。有时候想静下来看看书也不一定有时间,希望十一开学了能解决这个问题,调整好、适应好&过得充实!

刚开学,各大组织都在招新,我也嘎几闹猛,报了社联网编部和学生会信息部。社联的消息最快,面试后第2天就公布了复试名单,也比较顺利地通过复试加入了这个组织。最怨念的就是学生会信息部,当初期末南汇面试的时候没有录取我,这回面试的时候又是那2位当初面试我的学长,面试完后说最晚30号晚上会发消息给录取的同学。而我同寝的YD兄当天晚上收到了他应聘的文体部的复试通知,复试当天晚上也收到了“同学你好,欢迎加入文体部”的消息。此时我基本已经对我的信息部不报任何希望了,但是我就是不明白他们为什么会拒绝我,我认识的另几个计算机牛人也都没收到短信。汗了……真的不知道他们需要的是什么人才,我想即使不录取,我也得找他们知道自己的不足。30号上午模糊数学第2节课,收到条陌生短信,起初还以为是什么广告,打开一看原来是学生会人事部发来的信息部录取通知,OH ,DEAR!呵呵,因为这个我也没听清模糊数学中矩阵乘法与高代中的区别之处,真的很模糊……

十一这个假期感觉很短……没几天就又要去上课了,不过上课真的感觉还蛮有意思的,4门数学至少开头不像当初高代那样听完就觉得大晕的那种、物理么一个戆嘿嘿的老师上、英语么那老师美音不错、马概么就是给我自己看书&好好休息的、2门选修也不错,结合起来正好是数据库安全,哈。不知道咋的,小学时候最喜欢上的体育和英语课,现在却成了我最讨厌去上的课了……小学和大学不就一字之差么,差距咋就那么大咧?

过几天就去买电脑了,不出意外,应该把D630抱回吧。十一过后带电脑来希望不要影响学习,玩游戏我不担心,我现在对游戏已经比较冷淡了,顶多踢踢实况打NBA和NFS 11(后2者还没出……),主要担心的就是辖上网,不知道干啥的那种。楼上计算机专业的寝室已经基本沦为网吧了……不想我们这里也是。

ANYWAY,新学期十一过后才正式开始吧。学习、工作,加油罗!


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

Entries RSS Comments RSS Log in