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.

继续阅读

有趣的 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