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.




level 1

level 2
接着是<>,个人认为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语法


??=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;
??>                                          /* }          */