很早以前就观察到身边不少的程序员习惯比较差:编程时使用的分辨率是640×480的、或者是使用800×600的分辨率但是字体大小调得全屏只能显示十多行、或者是使用得Times New Roman/Tahoma/Arial来写代码,连空格都对不齐….. 曾听到过这么种说法:判断是不是个熟手,看看他编程时的屏幕就知道了,呵呵,可见习惯的重要性。这里随便侃侃我比较认同的编程用桌面显示一般标准,最后提供一个不错的等宽字体收集网,看腻了SimSun和FixedSys又不喜欢Courier的朋友可以去看看,说不定会有意外的惊喜: )
编程用桌面显示规范:
1. 视力不差的话,800×600以上,1024×768最优
2. 字体大小9pt至12pt最佳,保证全屏方式下一目24行以上,40行以下
3. 字体采用绝对的等宽字体,常用的有新宋体/ FixedSys / Courier New等
编程用字体选择标准:
1. 所有字符等宽
2. 简洁、清晰、规范的字符形体
3. 支持ASCII码为128以上的扩展字符集
4. 空白字符(ASCII: 0×20)与其他字符等宽
5. ’1′、’l'和’i'等三个字符易于区分
6. ’0′、’o'和’O'等三个字符易于区分
7. 双引号、单引号的前后部分易于区分,最好是镜像对称的
8. 清晰的标点符号外形,尤其是大括符、圆括符和方括符
Monospace/Fixed Width Programmer’s Fonts: http://www.lowing.org/fonts/
zz from http://www.cnblogs.com/neoragex2002/archive/2005/06/06/169033.html
在Bjarne Stroustrup 的个人主页看到B. S.的自我介绍,有种强烈的被震撼的感觉。做一个有点名气的人不难,在今天这样的日子里。可是做一个像他这样的大师却是难上加难。平实谦恭,但原则分明、思想犀利,崇尚优雅。无不自豪中也带着几分无奈和遗憾,呵呵,人若至此,又有何求?
I’m the College of Engineering Professor in Computer Science at Texas A&M University; you can find specific academic and educational information on and through my TAMU homepage. I also retain a link to AT&T Labs – Research as a member of the Information and Systems Software Research Lab.
I designed and implemented the C++ programming language. I remain active in the ISO C++ standards committee working on C++0x.
Over the years, I have written a few books (including The C++ Programming Language and The Design and Evolution of C++.), written a lot of papers, and given some interviews.
Here is some biographical material, some frequently asked questions, some frequently asked questions about C++ style and technique and a C++ glossary.
These pages are permanently under construction. Constructive comments are most welcome.
I can be reached by email at bs at cs.tamu.edu or bs at research.att.com, and by paper mail at Department of Computer Science, TAMU 3112, College Station, TX 77843-3112, USA.
两天一直为一个小小的编码问题头疼,perl就是不能接收mysql返回的汉字,全部变成问号,奶奶的,差点恨死写DBI那个人.昨天上网上一天就是没有收获,加了一个IRC还被一群人无视,唔,好不郁闷.
没想到下午慢慢把返回的结果unpack出来,上网到处搜集各种解决方案,终于在吃饭前搞定了.等项目结束了,把其中遇到的所有的问题,还有解决的过程都写出来,记在这里,算作一种纪念,嘿嘿.谢谢俺老婆,一直静静地鼓励俺慢慢来,看着她在旁边,再多心事都不用烦心.
今天blog重新开张,开始log 咯. 落下的那段回忆呢,保留在另外的地方:-)