程序员怎样学数学

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

大学英语4级应考指南

28 views学习 1 Comment »


最近参加了07年6月23日的大学英语4级考试。总得来说这次难度比以往略有提高,现在就把我考试的切实感受和考场上自己遇到的问题以及一些个人和同伴总结出来的小技巧无私奉上,供某些准备继续下次4级考试的同学和参加今后4级考试的同学作一小小小小的参考。
首先考前几分钟会把答题卡1&2发下,其中答题卡2是用来写作文和快速阅读的,所以发下答题卡2时便是公布了本次考试的作文题目,所以拿到答题卡填完必要的信息之后就可以开始构思作文了。这样以便于有充足的时间来进行写作以及最后的检查。30分钟的作文结束后便开始快速阅读部分,15分钟,你反正死也要很快速地把题目做完,但是答案基本上都在原文中都有的,极少题目是要自己归纳的。
接下来监考老师开始发第二部分的试卷(听力,阅读,完型和翻译)。这个时候其实有很多时间可以预读下听力,毕竟除最后篇听单词&句子是听3遍头的其余都是一次性放过的。听单词&句子的话,记得当时很多参考书包括老师都说做这类题的最好方法是第一遍听句子结构,第二遍补充,第三遍就校对了。但我由于智商的局限,试了好几次这种方法都不行,还是用最土的办法听到啥就全部抢记写下来,这样对我来说反而能拿到满分,所以各位同学如果最高级的方法用得不灵光,不妨也用这个最土的办法,毕竟适用于一切IQ ABOVE 75的人~~,HOHO。还有做听力的时候,每个对话或者问题听完有一个PAUSE,其实这个PAUSE持续蛮长时间的,所以直接把答案涂在答题卡,最好不要先写在试卷上再誊到答题卡上,这样到最后会发觉时间很紧的,我们考完交流了下,很多英语强人都是做完整份试卷平均只剩下2分钟的时间了,而且无一不对不把听力答案直接涂在答题卡上而缺少时间感到后悔。
阅读完型都没什么好说的,自己复习好多练习才是王道~~。最后的翻译么都是词组翻译没有整句翻译的,只要几个词就OK,难度与高考相仿的,甚至还不如,比如今年A卷就考了题“如果你方便的话”,我觉得高考都懒得出这种老掉牙的题目了……哈~~。
最后祝所有人4级710分~~~~,HOHO!
PS:本人英语实力不强,望请各位同学多加以和谐地指正,哈,THX~~!


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

Entries RSS Comments RSS Log in