+ -

普通青年VS文艺青年VS二逼青年之程序员版

时间:2011-10-28

来源:互联网

在手机上看
手机扫描阅读
  

 是的,又来了,各位看官,您是文艺啊?是文艺啊?还是文艺啊?

从上到下,依次是普通程序员,文艺程序员和2B程序员。

       

普通程序员这么写HelloWorld

    ClassHelloWorld{        
publicstaticvoid main(String[]args){
System.out.println("Hello, World!");
}
}

文艺程序员这么写HelloWorld

    UILabel*helloLbl =[[UILabel alloc] initWithFrame:        
CGRECTMake(0.f,0.f,320.f,20.f)];
helloLbl
.textLabel.text =@"Hello, World.";
[self.view addSubview:helloLbl];
[helloLbl release];

2B程序员这么写HelloWorld 
syntax error.

       

 

热门下载

更多