s*******e 发帖数: 3042 | 1 感觉有点莫名其妙,以前最恨的就是这厮,最近不知怎么回事突然觉得js很好玩,没事
就拿greasemonkey东改西改,哈哈 |
g**********y 发帖数: 14569 | 2 感觉javascript就是古人说的奇技淫巧,可以写得很fancy。但是稍微大一点的project
, 写出来很难看,根本没法维护。 |
c**t 发帖数: 2744 | 3 it applies to any script language.
project
【在 g**********y 的大作中提到】 : 感觉javascript就是古人说的奇技淫巧,可以写得很fancy。但是稍微大一点的project : , 写出来很难看,根本没法维护。
|
r*****l 发帖数: 2859 | 4 People tends to write in non-OO way using scripting language, especially the
ones w/o OO support. However, if you keep OO concept in mind when you start
from scratch, you can write well organized code.
【在 c**t 的大作中提到】 : it applies to any script language. : : project
|
F****n 发帖数: 3271 | 5 Using script language for high-level tasks is a trend. I personally like
Groovy a lot. Much better than JavaFx.
the
start
【在 r*****l 的大作中提到】 : People tends to write in non-OO way using scripting language, especially the : ones w/o OO support. However, if you keep OO concept in mind when you start : from scratch, you can write well organized code.
|
r*****l 发帖数: 2859 | 6 I don't disagree with you. I see the good part of a scripting language.
However, if the project is large, good organization is needed.
For example, I started Ruby script form one file with some functions. When
it grows, I think about creating classes as delegate. A huge script is
nobody's like.
【在 F****n 的大作中提到】 : Using script language for high-level tasks is a trend. I personally like : Groovy a lot. Much better than JavaFx. : : the : start
|
S****h 发帖数: 558 | 7
Just curious, how do you debug? One reason I hate javascript is that
debugging is so hard. Even a small subtle syntax error needs a long time
to find even with firebug. Those type of error for java will be exposed
first time in IDE.
【在 s*******e 的大作中提到】 : 感觉有点莫名其妙,以前最恨的就是这厮,最近不知怎么回事突然觉得js很好玩,没事 : 就拿greasemonkey东改西改,哈哈
|
g**********y 发帖数: 14569 | 8 同感,我没见过什么真正有用的javascript语法检查器, 经常提示正确的地方错了,真
正错的地方又不报。
最痛苦的就是一不小心删掉个,;‘“{ 之类的,要找出来太费劲了,尤其是在长程序
里。
【在 S****h 的大作中提到】 : : Just curious, how do you debug? One reason I hate javascript is that : debugging is so hard. Even a small subtle syntax error needs a long time : to find even with firebug. Those type of error for java will be exposed : first time in IDE.
|
z****e 发帖数: 54598 | |
i**e 发帖数: 6810 | 10 这两个东东用处不太一样哦
【在 F****n 的大作中提到】 : Using script language for high-level tasks is a trend. I personally like : Groovy a lot. Much better than JavaFx. : : the : start
|
F****n 发帖数: 3271 | 11 The are same by nature.
Groovy == The Correct Path
JavaFX == Completely Wrong Direction.
【在 i**e 的大作中提到】 : 这两个东东用处不太一样哦
|
s*******e 发帖数: 3042 | 12 不知道。。。我工作了7,8年,以前看到javascript是能逃就逃,从来不做。这个月看
别人做,突然来兴趣了,钻研了一番,越来越有兴趣,当然水平还是挺差了,但是觉得
还挺好玩的。不过这个语法有错就自己跳过去,也不吭气,的确是挺怪的,不懂为啥。
【在 S****h 的大作中提到】 : : Just curious, how do you debug? One reason I hate javascript is that : debugging is so hard. Even a small subtle syntax error needs a long time : to find even with firebug. Those type of error for java will be exposed : first time in IDE.
|
s***o 发帖数: 2191 | 13 fun to play with
pain to work with
【在 s*******e 的大作中提到】 : 感觉有点莫名其妙,以前最恨的就是这厮,最近不知怎么回事突然觉得js很好玩,没事 : 就拿greasemonkey东改西改,哈哈
|
i**e 发帖数: 6810 | 14 js有没有"strict" compiler?HTML之所以messy就是因为所有的
browser都很tolerant,结果找不到错。而且tolerate的方式和程度
各不相同,使得html/js行为诡异,很难debug。
【在 s*******e 的大作中提到】 : 不知道。。。我工作了7,8年,以前看到javascript是能逃就逃,从来不做。这个月看 : 别人做,突然来兴趣了,钻研了一番,越来越有兴趣,当然水平还是挺差了,但是觉得 : 还挺好玩的。不过这个语法有错就自己跳过去,也不吭气,的确是挺怪的,不懂为啥。
|