DBGCOOL

debugging seems to be cool, doesn't it?

csdn真的很红火,很不错,中国有很多程序员。
并且还有很多人过几年就要成为程序员。

有的人说,IT行业是热门行业,有的人说,IT业干的那么苦,工资那么低。
有的人说,我们找不到工作,有人说,我们招不到人。
有人争论.NET和Java哪个好找工作,有人学习SSH和Ajax,或者DIV+CSS,有人说,这些太难,要转行。
有人说,程序员只能干到30岁,有的人13岁就能写程序了。

这些都对,也都不对,一切的一切,就是因为这里90%的程序员根本就不算程序员。

很多人没有理解HTTP和HTML就来开发Web程序。他们觉得编写程序就是在Toolbox里面挑选控件。
有的人不明白SQL就来访问数据库,DataGridView是他们唯一的法宝,查询数据用它,编辑数据用它,产生报表也用它。
不少人整天把SSH挂在嘴边,但是不知道MVC和IoC是什么,编写程序如同做填空题:这些是自动产生的,这里填入我们的代码。
电脑普及了,电脑学校普及了,程序员也普及了。到处都在做广告,中年主妇都知道Java和C++,不过他们的周围的人也一样知识宽泛但是贫乏。

  • 不会电脑的人不算程序员——很多搞Web开发的人没有上过几个优秀网站;搞桌面开发的Word都用不熟练;甚至连自己电脑里面有没有病毒都不清楚的人不算程序员。(强烈赞成,有太多研发人员连自己的电脑是否中毒都不知道。)
  • 除了C++、Java和.NET以外不知道别的工具的不是程序员。
  • 把C#和ASP.NET画等号的不是程序员。
  • 不理解计算机体系结构的不是程序员。
  • 不理解数据结构的不是程序员。
  • 对设计模式一窍不通的不是程序员。(强烈赞成,太多人认为设计模式是很深奥很神秘的东西,却不知这是基础。不懂设计模式、不懂重构,相信他的代码质量也高不到哪去。)
  • 将设计模式视为圣经,并且过度设计的不是程序员。
  • 没有软件工程意识的程序员不是程序员。
  • 在这里提问却错字连天的不是程序员。人类的语言都掌握不了,面对呆板的计算机,你写的代码会错漏百出。(强烈赞成,错字连天的人不适合做程序员,他写的程序同样漏洞百出。程序员应该具有谨慎、认真的态度。)
  • 在这里提出简单问题,别人给出方法,却连搜索和尝试都懒得做的不是程序员。程序员面对的是挑战性的工作,至少是踏实的工作。(强烈赞成,最讨厌自己连搜索都不搜索就直接问你问题的人。)
  • 在这里寻找免费代码,或者干脆提出一个庞大软件需求,等待别人直接奉献成品的不是程序员。不理解自己工作价值的人,不会干好工作。
  • 不会沟通的人不算程序员,程序员的工作就是帮助一般人和计算机沟通。
  • 用过编程语言,知道很多平台,但是写不出高质量代码的人,不算程序员。(强烈赞成,写不出高质量代码的应该算是程序民工。)
  • 花一个月编写一个简单数据库程序的人不算程序员——他们的开发效率和代码质量不如代码生成器。
  • 收入在5000元以下(发达地区10000元)的不算程序员——程序员是智慧的群体,如果用你的智慧都达不到脑力劳动者的中等收入,怎么能算程序员。
  • 最关键的一点:不热爱这一行的不算程序员。(强烈赞成,一名合格的程序员,必须热爱自己的工作,不停的学习、不停的进步。没激情,混日子过的伪程序员不算程序员。)

大部分程序员进入了高技术企业。
剩下的程序员有的自立门户,有的成为SOHO。
一般的企业当然招不到程序员。

编写了半天的软件,功能上是通用软件的子集,人家软件卖1000元一套。
你当然赚不到钱。

20多岁开始工作,得过且过,混日子的程序员,到了30多岁,连同样混日子,并且年纪小10岁的程序员都比不过,当然要淘汰。

我们社会需要更多的程序员。但是不需要这么多不是程序员的程序员。

这里90%的程序员根本就不算程序员。

原文链接:►►这里90%的程序员根本就不算程序员◄◄

C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns

Details

Name: C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns
Publisher: Addison-Wesley Professional
Release Date: December 20, 2001
Author: Douglas C. Schmidt, Stephen D. Huston

书名:C++网络编程 卷1:运用ACE和模式消除复杂性
出版社:华中科技大学出版社
出版日期:2003年12月(晚2年)
译者:於春景

Review

在没看这本书之前,就听说过ACE的大名,一直觉得是个挺神奇的框架。看了这本书之后,终于明白了ACE到底是什么了。ACE相对于我们传统的socket编程,就好比是MFC相对于传动的Win32 API。ACE是用C++重新封装了底层的API,不仅仅包括socket,也包括多线程、多进程。而且,还实现了自己的任务、消息机制,非常适合网络程序开发。

ACE可以适用于很多不同的系统,包括最常见的Windows和Linux系统。ACE里面运用了很多模式,而且这些模式是Design Patterns一书不曾介绍的,因为这些模式都是网络程序所特有的。

很奇怪的是,这本书中文版貌似只翻译了卷一,没有人翻译卷二。Google Trends了一下,发现ACE本身也不是很热的词汇。所以要问的是,大家在编写跨平台的网络程序时,使用的是什么框架呢?还是说,很少有人用C++编写跨平台的网络应用?

编程高手箴言Details

书名:编程高手箴言
出版社: 电子工业出版社
出版日期:2003年10月
作者:梁肇新

Review

我大概是2004-2005年左右看的这本书,此书刚一出我就毫不犹豫的买回来了,这本书绝对值得收藏。也许梁大师看到我说这句话一定会反驳我,说此书已经过时啦,呵呵。“过时”这个词看怎么解释了,也许里面的技术过时了,但是里面反映出来的事却会成为历史,永远不会过时。

这本书之所以值得收藏,是因为它记载了曾经风靡全中国的软件:豪杰超级解霸。从书中可以看出梁大师当年开发豪杰超级解霸的辛酸历程,以及所用到的技术。这个软件影响了70后~80初的一代人。相信这个年龄段使用过电脑的人,没有不知道豪杰超级解霸的。但由于国内的环境所限,盗版猖獗,所以估计梁大师也没赚到大钱。如果梁大师出生在国外,也许会把豪杰做得更大。

在2009中国软件技术英雄会上海站,我遇到了梁大师,可谓是面对面的交谈,虽然可能到现在梁大师也不知道我是谁。当时让我感到非常差异的是,听说梁大师最近两年隐居,研究起风水了。并且在会上,梁大师给我们做了个非常精彩的关于创业过程中“地利”问题的演讲。会间休息的时候,梁大师还给我们演示他的手机中自己写的一个计算风水的软件。

话说远了,继续说这本书。这本书里的技术我就不多说了,都是比较底层的,如CPU、内核优化等。主要说说此书第一章谈到的话题,程序员成长的六个阶段:

第一阶段:熟练地使用某种语言

据我观察,国内60%的程序员都停留在这个阶段吧。能熟练掌握C/C++的就不是很多,精通的就更少了。有几个人敢说自己可以清楚的知道STL的实现内幕的?大多都是只会if else和for,甚至还在用goto…反正是可以将就写程序了。

第二阶段:精通某种平台接口(例如Win32 API)

对于我来说,大学的时候只会用C/C++写console程序,自学过部分Win32 API。也就是从工作之后吧,才开始用MFC。连续用C++/MFC写了2年多的程序,才可以说是熟练运用Win32 API和MFC。又过了2年多,在调试MFC程序的过程中,看了一些MFC内部的实现代码,至此可算是略有精通吧。嘿嘿,至少对梁大师括号中的内容应该算是精通了。

第三阶段:了解某个平台底层

这个具体有多底层书中没说,之说算是有了初级内功。

第四阶段:在某个平台上进行深层次的开发

这个比较遗憾,一直没有机会进行深层次的开发。梁大师说,此时语言只是工具,已经不重要了。对于我,我是在Windows和Linux上都有开发,但没有一个开发的比较深层次。

第五阶段:从全局设计大的系统

只要有时间,连MS WORD都能做出来!这句话貌似很多人都说过,但是我不相信。即使在微软,能设计OFFICE架构的人恐怕也不多。国内的WORD也非金山WPS莫属了,但也不过如此,只能跟着时代跑,而不是领跑者。

第六阶段:无招胜有招

已经不关注某个具体的语言、平台了,C/C++/Java都一样,Windows/Linux都一样。

书中梁大师关于中国软件人才的评价到现在为止仍然是正确的:“而我认为,现在中国绝大多数都是初级的程序员,中级的程序员很少,高级的就更少了。”

这是为什么呢?也许还是环境问题,我们要考虑的问题太多了,毕业之后找工作,找到工作攒钱买房子,有了房子娶老婆,生孩子。而欧美呢,毕竟发达国家,吃穿住基本不用愁,所以可以用更多的时间做自己想做的事。只要自己喜欢写程序,就会写一辈子。而国内呢?工作3年开始搞管理,然后技术也就基本扔了。写程序的,永远是新入职的初级程序员…

RolesLines
LeonardHere we go, Pad Thai, no peanuts.
LeonardEveryone keep an eye on Howard in case he starts to swell up.
■ If the amount or size of something swells or if something swells it, it becomes larger than it was before. = increase
SheldonSince it's not bee season, you can have my epinephrine.
上网查了一下,说被蜜蜂蛰过,可以根据情况注射过敏针、抗生素或者肾上腺素。Sheldon刚好属于最后一种,自己备份着肾上腺素呢。
HowardDo I look puffy? I fell puffy.
■ If a part of someone's body, especially their face, is puffy, it has a round, swollen appearance. = swollen
Howard对花生过敏,后面有一集过敏的浑身都肿起来了。
SheldonDon't take it personally, it's his pathology.
■ Pathology is the study of the way diseases and illnesses develop. (MEDICAL)
PennyI do like the one where Lois Lane falls from the helicopter and superman swooshes down and catches her.
SheldonYou realize that scene was rife with scientific inaccuracy.
■ If you say that something, usually something bad, is rife in a place or that the place is rife with it, you mean that it is very common.
LeonardYour entire argument is predicated on the assumption that superman's flight is a feat of strength.
■ If you refer to an action, or the result of an action, as a feat, you admire it because it is an impressive and difficult achievement.
SheldonA combination of the moon's solar reflection and the energy storage capacity of Kryptonian skin cells.
SheldonWell, we don't have a dolly.
■ Dolly is a platform on a roller or on wheels or casters for moving heavy objects.
LeonardGive me a fulcrum and a level and I can move the earth.
■ Fulcrum is the support about which a lever turns.
阿基米德的原话是希腊文的,英文有很多不同的译法,如Give me a place to stand, and I will move the earth.
SheldonYes, but they all involve a Green lantern and a Power ring.
SheldonAh, gravity, thou art a heartless bitch.
■ Thou is an old-fashioned, poetic, or religious word for `you' when you are talking to only one person. It is used as the subject of a verb.
■ Art is an old-fashioned form of the second person singular of the present tense of the verb be.
SheldonYou do understand that our efforts here will in no way increase the odds of you having sexual congress with this woman.
■ sexual congress = sex
SheldonA little messy? The Mandelbrot set of complex numbers is a little messy.
SheldonExplain to me an organizational system where a tray of flatware on a couch is valid.
■ You can refer to the knives, forks, and spoons that you eat your food with as flatware. (AM; in BRIT, use cutlery)
LeonardDid it ever occur to you that not everyone has the compulsive need to sort, organize and label the entire world around them?
■ You use compulsive to describe people or their behaviour when they cannot stop doing something wrong, harmful, or unnecessary.
SheldonThis is not anyone's home. This is a swirling vortex of entropy.
■ If you swirl something liquid or flowing, or if it swirls, it moves round and round quickly.
■ A vortex is a mass of wind or water that spins round so fast that it pulls objects down into its empty center.
■ Entropy is a state of disorder, confusion, and disorganization. (TECHNICAL)
SheldonBecause it was immaculate.
■ If you describe something as immaculate, you mean that it is extremely clean, tidy, or neat.
LeonardWell, we'll get out of your hair.
■ If you get someone out of your hair, you get them to stop bothering or annoying you.
SheldonYou might want to speak in a lower register.
■ In linguistics, the register of a piece of speech or writing is its level and style of language, which is usually appropriate to the situation or circumstances in which it is used. (TECHNICAL)
LeonardI accept your premise. Now, please let's go.
■ A premise is something that you suppose is true and that you use as a basis for developing an idea. (FORMAL) = assumption
SheldonI have to say I slept splendidly. Granted, not long, but just deeply and well.
■ You use granted or granted that at the beginning of a clause to say that something is true, before you make a comment on it.
LeonardA well known folk cure for insomnia is to break in your neighbor's apartment and clean.
■ Someone who suffers from insomnia finds it difficult to sleep.
SheldonAnd snoring, and that's probably just a sinus infection. But it could be sleep apnea.You might want to see an otolaryngologist.
■ When someone who is asleep snores, they make a loud noise each time they breathe.
■ Your sinuses are the spaces in the bone behind your nose.
■ Apnea is transient cessation of respiration.
■ Your respiration is your breathing. (MEDICAL)
■ An otolaryngologista is a medical specialty concerned especially with the ear, nose, and throat.
LeonardThe hallmark of the great human experiment is the willingness to recognize one's mistakes.
■ The hallmark of something or someone is their most typical quality or feature.
LeonardSix two-inch dowels.
One package Phillips-head screws.
■ A dowel is a short thin piece of wood or metal which is used for joining larger pieces of wood or metal together.

未来警察与去年上映的机器侠相比,未来警察在动画效果上有了很大的进步。人和机器人合二为一,2080年的坏人都变成了半人半机器的怪物。这部片子同样是爱情+戏剧+科幻的类型。

记得不久前还跟同事讨论,说十年前经典的港台电影一去不复返了。看来,香港以警察、科幻为题材的电影开始渐渐崭露头角了。希望不久以后,中国也能出现变形金刚似的国际大片吧。

导演:王晶
主演:刘德华 / 徐熙媛 / 范冰冰
类型: 爱情 / 动作 / 科幻
上映日期:2010年3月30日 中国