菜头粿

查看: 208|回复: 0
打印 上一主题 下一主题

程序员进化论

[复制链接]
1#
跳转到指定楼层
发表于 2009-8-29 12:12:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式



  

程序员进化论  
一般来说, 一个软件工程师将按如下几个阶段成长下去:

  *****中学阶段*****--------------------------------------

  10 PRINT "HELLO WORLD"
  20 END

  *****大学一年级*****--------------------------------------

  program Hello(input, output)
  begin
  writeln('Hello World')
  end.

  *****大学高年级*****--------------------------------------

  (defun hello
  (print
  (cons 'Hello (list 'World))))

  *****初级程序员*****--------------------------------------

  #include
  void main(void)
  {
  char *message[] = {"Hello ", "World"};
  int i;
  for(i = 0; i < 2; ++i)
  printf("%s", message[i]);
  printf("\n");
  }

  *****编程老鸟*****--------------------------------------

  #include
  #include
  class string {
  private:
  int size;
  char *ptr;
  public:
  string() : size(0),
  ptr(new char('\0')) {}
  string(const string &s) : size(s.size)


高级模式
B Color Image Link Quote Code Smilies

本版积分规则

手机版|Archiver| 菜头粿 声明:本站所发贴子内容仅代表网友观点,不代表本站立场,严禁一切与国家法律相抵触的内容。感谢关注!
粤icp备19073828

GMT+8, 2026-7-26 14:43 , Processed in 0.077838 second(s), 15 queries .

粤东.中国

© 2007-2026 czczcz.com

快速回复 返回顶部 返回列表