宝水的72松博客

Just another 七十二松 (72pines) weblog

Ten reasons why every programmer should learn C

Posted by 宝水 on 十二月 3rd, 2007

http://www.yeeyan.com/articles/view/888888/3275

程序员应该学C语言的十个理由

每个程序员都应该在他的编程生涯中学习C语言。它的好处多到你不能忽视。不仅是因为它能带来很多工作机会,而且它也从整体上让你认识电脑。

  1. C比其他的编程语言 (C++, Java)更底层一点。在底层编程会使你从整体上更好的理解电脑。
  2. 设备驱动和操作系统都是专门用C写成的。现在你可以再也不用写一个设备驱动程序和操作系统了,但是如何你要修改一个这样的程序你怎么办呢?
  3. 如果你想要找一份微控制器编程的工作你怎么办呢?它们是用C写的。你要放弃可能的工作机会,只是因为你不想学一门新的语言吗?
  4. C程序你其它任何不同语言产生的程序都要更小更快。有时候你的程序需要那一点点速度提升,只能C能给你。
  5. 如果你学过C,你能学其他任何现代编程语言。这后面的原因是,所有现代编程语言 (Java, C++, C#, 等)都是基于C的。
  6. 因为C已经发发展了很多年,它有巨大的社区和集体代码基础。这能让你快速有效的实现先前已经编好的新算法和函数。
  7. C是开源社区的语言。开源的榜样,Linux,是用C编写的。如果你了解C,你能参与和贡献到大量开源社区中去,比如Source Forge
  8. C是唯一一门告诉你指针到底是什么的语言。C#和Java完全跳过了这个主题。指针赋与了C强大的能力。
  9. C仍然是编程工作最普遍要求掌握的语言。在你的领域下绝对值得花去时间学C。
  10. 任何带有微处理器的东西都支持C。从你的微波炉到手机,C 提供强大的技术动力。

http://www.jubuu.com/?id=14

Ten reasons why every programmer should learn C

Every programmer should learn C during their programming career. Its benefits are too numerous to ignore. Not only will it open many more job opportunities, but it will teach you more about computers as a whole.

  1. C is lower level then other programming languages (C++, Java). Programming at a lower level allows you to further your understanding of computers, as a whole.
  2. Device drivers and operating systems are written exclusively in C. Now, you may never write a device driver or an operating system, but what if you are ever required to modify one?
  3. What if you ever want to get a job programming microcontrollers? They are programmed in C. Are you going to limit your possible list of jobs because you didn’t want to learn a new language?
  4. C programs are smaller and faster then any other program created in a different language. Sometimes your program needs that speed boost that only C can give it.
  5. If you have learned C, you can learn any modern programming language. The reason behind this is that all modern programming languages are based on C (Java, C++, C#, etc).
  6. Because C has been around for many years, it has a large community and collective code base. This allows you to quickly and efficiently implement new algorithms or functions that have been programmed before.
  7. C is the language of the Open Source community. The Open Source poster child, Linux, was coded in C. If you know C, you can participate in and contribute to numerous Open Source communities like Source Forge.
  8. C is the only language that teaches you what pointers really are. C# and Java skip the subject completely. It is pointers that give C its power.
  9. C is still the most commonly required language for programming jobs. It is well worth your time to get C under your belt.
  10. Anything that has a microprocessor in it has support for C. From your microwave to your cell phone, C powers technology.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>