edgar 的窝

Happy coding

[Z]The Next Programming Skill You Should Learn

Change and growth are faster than ever in software these days. There%rsquos Silverlight, LINQ and WPF from Microsoft. There%rsquos AJAX, REST and Rails 2.0 in the web development world. Java has JavaFX. There used to be a time when you had to pick one language and run with it because it was just too overwhelming to master more than one. Now it%rsquos impossible to keep up with new developments within even a single language. This has many developers scrambling to figure out what to learn next. No one wants to invest countless hours in a losing technology%hellip you want to learn something that will be useful in the long run. I have just the skill for you, and it doesn%rsquot matter what language you work with.

Learn to write well. [ * ]

%ldquoBut that%rsquos not a programming skill!%rdquo you%rsquore probably saying. Or maybe you%rsquore disappointed because you thought I was going to be talking about the very latest cutting-edge API you can%rsquot live without. Good writing skill is probably one of the most useful talents you can develop as a software engineer, and ignoring it is one of the biggest mistakes most programmers make.

继续阅读

[Z]推荐的C++书籍以及阅读顺序

推荐的C++书籍以及阅读顺序

当读者有一定c/c++基础
推荐的阅读顺序:
level 1
从<>开始,短小精悍,可以对c++能进一步了解其特性
以<>作字典和课外读物,因为太厚不可能一口气看完

level 2
然后从<>开始转职,这是圣经,请遵守10诫,要经常看,没事就拿来翻翻
接着是<>,个人认为Herb Sutter主席大人的语言表达能力不及Scott Meyers总是在教育第一线的好
顺下来就是<>和<>,请熟读并牢记各条款
当你读到这里,应该会有一股升级的冲动了

继续阅读

make -j(n)的用法

Timing the Linux -j(cpu+1) Myth

Quite a few times I've been told to use the make -j(cpu+1) flag when building on Linux. Once I got my smp box up and running I ran a series of tests to see if this was correct. I guess the theory is you should make sure the processor has something to do by telling it to start one more job than the number of processors available.

继续阅读

[Z]VS Debugging : Just My Code

The debugger has a new feature this time around called 'Just my code'. This is a new-for-Whidbey managed debugging feature.

Philosophy of Just my code:
The basic idea is that when you debug an application, you want to debug the code in the application, and not all the code that is in the Framework. Specifics:

继续阅读

有趣的 C trigraph语法

编译运行下面的代码会有什么样的结果^o^

??=include <stdio.h>                         /* #          */
 
int main(void)
??<                                          /* {          */
        char n??(5??);                       /* [ and ]    */
 
        n??(4??) = '0' - (??-0 ??' 1 ??! 2); /* ~, ^ and | */
        printf("%c??/n", n??(4??));          /* \, [ and ] */
        return 0;
??>                                          /* }          */
 

 

 

参考:http://en.wikipedia.org/wiki/C_trigraph