h*i
2 楼
一位八十多岁的长者曾告诉我:人的心思不能过于细密。他顿了一顿,又补充了一句:
心思过细者,往往难成大气候。
我不解,如此说来,这不是和我们从小到大接受的教育相悖吗?多少年来,师长们反复
叮嘱我们的可都是做事必须仔细仔细再仔细、认真认真再认真,心思一定要缜密缜密再
缜密啊。像“诸葛一生多谨慎”这样的话听得我们耳朵都要长茧子啦!
看我陷入深深的疑惑,长者举了一个例子:一张渔网,如果网眼太细太小了,理论上是
可以将某片水域的大鱼小鱼一网打尽,而实际上,这样的渔网能网到的仅仅是些小鱼小
虾。试想,水中许许多多的小鱼小虾很快就会将网内的所有位置占住,这网又如何能再
容得下大鱼进入?所以,只有那网眼粗粗的渔网,才能让无甚价值的小鱼小虾匆匆逃掉
,而最终网到足够分量的大鱼。
听了长者一番话,我如醍醐灌顶,茅塞顿开。人的心灵何尝不是如此?如果你的心思时
时事事过于细密,那些鸡毛蒜皮般的“小鱼小虾”就漏不掉,长年累月,一件件琐碎事
情就极有可能挤满你的内心,而真正能促使你不懈进取的大智慧大勇气大坚强就再也没
有容身之地。
这就是我们常常看到而无法回避的现实:在我们周围,有不少心思过细的人,他们总是
纠结于凡世的尘嚣杂俗,譬如生活中的大小烦恼,工作上的不尽如人意……他们不放过
丝毫“小鱼小虾”之类的利益,斤斤计较,患得患失,只落得庸庸碌碌,一事无成;而
那些性格豪爽、心胸豁达的“粗心人”,往往能拿得起放得下,抛掉心灵的杂芜,摈除
与人生目标无关紧要的细枝末节、弯弯绕绕,持之以恒,最终捞到那条名叫成功的“大
鱼”!
心思过细者,往往难成大气候。
我不解,如此说来,这不是和我们从小到大接受的教育相悖吗?多少年来,师长们反复
叮嘱我们的可都是做事必须仔细仔细再仔细、认真认真再认真,心思一定要缜密缜密再
缜密啊。像“诸葛一生多谨慎”这样的话听得我们耳朵都要长茧子啦!
看我陷入深深的疑惑,长者举了一个例子:一张渔网,如果网眼太细太小了,理论上是
可以将某片水域的大鱼小鱼一网打尽,而实际上,这样的渔网能网到的仅仅是些小鱼小
虾。试想,水中许许多多的小鱼小虾很快就会将网内的所有位置占住,这网又如何能再
容得下大鱼进入?所以,只有那网眼粗粗的渔网,才能让无甚价值的小鱼小虾匆匆逃掉
,而最终网到足够分量的大鱼。
听了长者一番话,我如醍醐灌顶,茅塞顿开。人的心灵何尝不是如此?如果你的心思时
时事事过于细密,那些鸡毛蒜皮般的“小鱼小虾”就漏不掉,长年累月,一件件琐碎事
情就极有可能挤满你的内心,而真正能促使你不懈进取的大智慧大勇气大坚强就再也没
有容身之地。
这就是我们常常看到而无法回避的现实:在我们周围,有不少心思过细的人,他们总是
纠结于凡世的尘嚣杂俗,譬如生活中的大小烦恼,工作上的不尽如人意……他们不放过
丝毫“小鱼小虾”之类的利益,斤斤计较,患得患失,只落得庸庸碌碌,一事无成;而
那些性格豪爽、心胸豁达的“粗心人”,往往能拿得起放得下,抛掉心灵的杂芜,摈除
与人生目标无关紧要的细枝末节、弯弯绕绕,持之以恒,最终捞到那条名叫成功的“大
鱼”!
i*p
3 楼
In a code review, one colleague mentioned someone's JAVA code is in C coding
style, and need to change. I don't think coding style is a serious issue,
unless the project has the specific request.
What do you think?
Here is an example, which is said a C coding style in a JAVA code. a, b, c,
d, e are in C style.
public class Example
{ // a
public static void main(String[] args)
{ //b
int i;
...
if ( i > 10 )
{ // c
...
} // d
else
{ // e
...
}
...
}
}
style, and need to change. I don't think coding style is a serious issue,
unless the project has the specific request.
What do you think?
Here is an example, which is said a C coding style in a JAVA code. a, b, c,
d, e are in C style.
public class Example
{ // a
public static void main(String[] args)
{ //b
int i;
...
if ( i > 10 )
{ // c
...
} // d
else
{ // e
...
}
...
}
}
p*2
5 楼
太难看了
l*a
6 楼
驴的太难找。 找了一个相近的, 仅供参考。
w*z
7 楼
什么意思?
coding
,
【在 i**p 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
coding
,
【在 i**p 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
T*U
9 楼
you can use checkstyle
http://checkstyle.sourceforge.net/
but i think your way of using braces are fine with java
coding
,
【在 i**p 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
http://checkstyle.sourceforge.net/
but i think your way of using braces are fine with java
coding
,
【在 i**p 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
w*z
11 楼
你是说括号不另起一行?
【在 T****U 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: you can use checkstyle
: http://checkstyle.sourceforge.net/
: but i think your way of using braces are fine with java
:
: coding
: ,
【在 T****U 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: you can use checkstyle
: http://checkstyle.sourceforge.net/
: but i think your way of using braces are fine with java
:
: coding
: ,
g*g
13 楼
Yes, coding style is important, because code is meant to share. Java coding
convention has been there since early days and it's been well known in
industry.
http://www.oracle.com/technetwork/java/javase/documentation/cod
If you are using an IDE like eclipse, formatting your code is one shortcut
away, ctrl+shift+F.
coding
,
【在 i**p 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
convention has been there since early days and it's been well known in
industry.
http://www.oracle.com/technetwork/java/javase/documentation/cod
If you are using an IDE like eclipse, formatting your code is one shortcut
away, ctrl+shift+F.
coding
,
【在 i**p 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
wh
14 楼
还是马玉涛的好听,有气势。对了突然想起阿凡提骑的是小毛驴吧。有一首阿凡提宝驴
歌,但我找不到链接。
http://www.youtube.com/watch?v=Eqouz9V6jzs
【在 l**a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 傻驴比较时尚,只好把马玉涛给撇过了。
歌,但我找不到链接。
http://www.youtube.com/watch?v=Eqouz9V6jzs
【在 l**a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 傻驴比较时尚,只好把马玉涛给撇过了。
c*e
15 楼
一个公司里面的code style要一致,这个是常识。当然,每个公司可能都不一样,但是
,进了一个公司,就要遵守一个公司的code style.
coding
,
【在 i**p 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
,进了一个公司,就要遵守一个公司的code style.
coding
,
【在 i**p 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: In a code review, one colleague mentioned someone's JAVA code is in C coding
: style, and need to change. I don't think coding style is a serious issue,
: unless the project has the specific request.
: What do you think?
: Here is an example, which is said a C coding style in a JAVA code. a, b, c,
: d, e are in C style.
: public class Example
: { // a
: public static void main(String[] args)
: { //b
f*n
17 楼
coding style is very very important.
c*r
25 楼
左括号另不另起一行的问题。。。感觉无所谓其实
z*s
31 楼
这个东西能不能自定义个什么东西,配置在ide里面,不符合的话报错?比如{不能单独
一行。
好比eclipse可以定义java什么是warning什么是error。
coding
【在 g*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: Yes, coding style is important, because code is meant to share. Java coding
: convention has been there since early days and it's been well known in
: industry.
: http://www.oracle.com/technetwork/java/javase/documentation/cod
: If you are using an IDE like eclipse, formatting your code is one shortcut
: away, ctrl+shift+F.
:
: coding
: ,
一行。
好比eclipse可以定义java什么是warning什么是error。
coding
【在 g*****g 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Yes, coding style is important, because code is meant to share. Java coding
: convention has been there since early days and it's been well known in
: industry.
: http://www.oracle.com/technetwork/java/javase/documentation/cod
: If you are using an IDE like eclipse, formatting your code is one shortcut
: away, ctrl+shift+F.
:
: coding
: ,
g*e
33 楼
http://checkstyle.sourceforge.net/
【在 z***s 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 这个东西能不能自定义个什么东西,配置在ide里面,不符合的话报错?比如{不能单独
: 一行。
: 好比eclipse可以定义java什么是warning什么是error。
:
: coding
【在 z***s 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 这个东西能不能自定义个什么东西,配置在ide里面,不符合的话报错?比如{不能单独
: 一行。
: 好比eclipse可以定义java什么是warning什么是error。
:
: coding
z*s
37 楼
这个刚才我看了,没有细看。
又看了一下,貌似很强大,连命名规范都要管。
【在 g**e 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://checkstyle.sourceforge.net/
又看了一下,貌似很强大,连命名规范都要管。
【在 g**e 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://checkstyle.sourceforge.net/
K*N
52 楼
祝生日快乐!
K*N
53 楼
阿凡提的故事(1979) 偷东西的驴
http://www.youtube.com/watch?v=DGn72Qt2wGs
http://www.youtube.com/watch?v=ZfSPsv_MCmk
【在 a****s 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 生日快乐~
: 我有一头小毛驴啊,从来也不骑……
http://www.youtube.com/watch?v=DGn72Qt2wGs
http://www.youtube.com/watch?v=ZfSPsv_MCmk
【在 a****s 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 生日快乐~
: 我有一头小毛驴啊,从来也不骑……
K*N
54 楼
哈哈
wh
60 楼
什么aloha?
作曲金复载——好像以前动画片的作曲都是他,雪孩子什么的也是他。
作曲金复载——好像以前动画片的作曲都是他,雪孩子什么的也是他。
wh
61 楼
阿凡提是什么民族?弹的是什么乐器?
【在 K****N 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 阿凡提的故事(1979) 偷东西的驴
: http://www.youtube.com/watch?v=DGn72Qt2wGs
: http://www.youtube.com/watch?v=ZfSPsv_MCmk
【在 K****N 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 阿凡提的故事(1979) 偷东西的驴
: http://www.youtube.com/watch?v=DGn72Qt2wGs
: http://www.youtube.com/watch?v=ZfSPsv_MCmk
wh
69 楼
wow这么厉害!我光打听到老板是苏州人,后来到台湾、日本,最后到纽约。所以山王
的格局摆设有点日本风格。门口有日本哪个首相来吃饭的照片,还有哪个书法家的题词
,叫什么明,哎呀想不起来了,好像是台湾人?
我昨儿吃的青椒香干牛肉丝最好吃,牛肉嫩得!毛豆百页其次,稍有点甜(我还在想果
然是苏州人),但也非常好吃,从没吃过那么嫩的百页!竹笙丝瓜也好。比四川印象的
丝瓜好吃多了。还有个虾吐司,我本来以为是上海的龙虾片,结果是真正的虾和烤面包
片,炸得很香。
不好吃的是酱鸭,那个红色的酱太甜,而且鸭肉不入味。油焖笋也不鲜。可能不是季节。
噢对了服务员说6th street都是bankers,现在大受经济影响,很多人回国,所以今年
生意很差。他自己的儿子也在上海,他说不知道儿子在干什么,只要不回来就好。说纽
约干得太累了,还是国内好。
【在 p***y 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 山王是纽约数一数二的中国菜馆啊,你太厉害啦,竟然会知道去那里。那厨师以前是蒋
: 中正御用的厨师,江浙菜很道地的。
的格局摆设有点日本风格。门口有日本哪个首相来吃饭的照片,还有哪个书法家的题词
,叫什么明,哎呀想不起来了,好像是台湾人?
我昨儿吃的青椒香干牛肉丝最好吃,牛肉嫩得!毛豆百页其次,稍有点甜(我还在想果
然是苏州人),但也非常好吃,从没吃过那么嫩的百页!竹笙丝瓜也好。比四川印象的
丝瓜好吃多了。还有个虾吐司,我本来以为是上海的龙虾片,结果是真正的虾和烤面包
片,炸得很香。
不好吃的是酱鸭,那个红色的酱太甜,而且鸭肉不入味。油焖笋也不鲜。可能不是季节。
噢对了服务员说6th street都是bankers,现在大受经济影响,很多人回国,所以今年
生意很差。他自己的儿子也在上海,他说不知道儿子在干什么,只要不回来就好。说纽
约干得太累了,还是国内好。
【在 p***y 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 山王是纽约数一数二的中国菜馆啊,你太厉害啦,竟然会知道去那里。那厨师以前是蒋
: 中正御用的厨师,江浙菜很道地的。
s*t
72 楼
谢谢,哈哈。辛苦了
a*s
79 楼
小毛驴的完整版
http://www.st020.cn/play/163066.htm
英文版的~
【在 s***t 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 谢谢!
http://www.st020.cn/play/163066.htm
英文版的~
【在 s***t 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 谢谢!
J*8
90 楼
傻驴生日快乐!
J*n
113 楼
ding
相关阅读
俺梦想的系统白日漫漫,无心工作java后台开发有什么conference推荐么?求建议,Java转Javascript?flex virgoSystem.in如何使用UTF-8?Looking for Java volunteers听说这里big data大拿多, MongoDB和Cassandra,谁搞过machine learning?zkssjavafx试用报告functional programming for java问一个Java的问题,关于create generic array原来请教问题也可以这么艺术呀Java StringBuilder myth debunked向各位朋友请教一道题目请教大家:如何modify java code in order to compile回头看了下一年前写的代码Eclipse JUNO 老提醒没设置路径legacy code里竟然还有scriplet,sigh请问目前哪些大公司的平台是java做的,或是主要product是java写的呢?