On 02/24/2011 12:30 PM, Haiyan Lin wrote: > 哦。学习中,希望有一天自己也可以懒惰一下。
所谓的 "能省则省" 这种方式还是不要学的好。了解一下,fun. 但是如果代码都 是这么写,那你就离过段时间看不懂自己的代码不远了。 写出清晰的代码比这样的懒惰更重要。 Qiang > ----- Original Message ----- > > *From:* 伊现富 <mailto:[email protected]> > *To:* [email protected] <mailto:[email protected]> > *Sent:* Thursday, February 24, 2011 12:06 PM > *Subject:* Re: [PerlChina] 在chinaunix看到一个搞笑的 > > 关键不在于格式的问题,而是“懒惰”的问题。 > 新手“中规中矩”;老手能省则省,有内置默认变量就懒得去自己定义、多输入 > 那么多字符了。 > > 在 2011年2月24日 上午9:56,Haiyan Lin <[email protected] > <mailto:[email protected]>>写道: > > 比喻打的很好。 > 新手请教一下,差别主要在什么地方啊? > 格式上的不一样,好像可以通过perltidy来统一。在加点注释什么的。。。。 > > ----- Original Message ----- > *From:* [email protected] <mailto:[email protected]> > *To:* [email protected] > <mailto:[email protected]> > *Sent:* Wednesday, February 23, 2011 1:51 PM > *Subject:* Re: [PerlChina] 在chinaunix看到一个搞笑的 > > 这个说法太好玩了。 > > 在 2011年2月23日 下午1:02,Michael Zeng > <[email protected] <mailto:[email protected]>>写道: > > 正常, 不要说看别的, 自己的程序很久不看 都看不懂, > > > 2011/2/23 Beckheng Lam <[email protected] > <mailto:[email protected]>> > > 有一个说法是: > java的程序,神仙和凡人写得都一样,大家都能懂。 > python的程序, 神仙和凡人写的差别大, 大家都能懂。 > perl的程序, 神仙和凡人写的差别巨大, 凡人看不懂神仙 > 的程序,至于神仙能不 能看懂凡人的,只有神仙自己知道。 > > -- > Perl乐事 -- http://www.perlersh.org > 我的博客 -- http://www.perlersh.org/blog.html > 诸法从缘起,如来说是因。 > 彼法因缘尽,是大沙门说。 > > -- > Yours Sincerely > Zeng Hong > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
