avatar
最近迷上了javascript# Java - 爪哇娇娃
s*e
1
感觉有点莫名其妙,以前最恨的就是这厮,最近不知怎么回事突然觉得js很好玩,没事
就拿greasemonkey东改西改,哈哈
avatar
g*y
2
感觉javascript就是古人说的奇技淫巧,可以写得很fancy。但是稍微大一点的project
, 写出来很难看,根本没法维护。
avatar
c*t
3
it applies to any script language.

project

【在 g**********y 的大作中提到】
: 感觉javascript就是古人说的奇技淫巧,可以写得很fancy。但是稍微大一点的project
: , 写出来很难看,根本没法维护。

avatar
r*l
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

avatar
F*n
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.

avatar
r*l
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

avatar
S*h
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东改西改,哈哈

avatar
g*y
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.

avatar
z*e
9
这是我巨讨厌的东西
avatar
i*e
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

avatar
F*n
11
The are same by nature.
Groovy == The Correct Path
JavaFX == Completely Wrong Direction.

【在 i**e 的大作中提到】
: 这两个东东用处不太一样哦
avatar
s*e
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.

avatar
s*o
13
fun to play with
pain to work with

【在 s*******e 的大作中提到】
: 感觉有点莫名其妙,以前最恨的就是这厮,最近不知怎么回事突然觉得js很好玩,没事
: 就拿greasemonkey东改西改,哈哈

avatar
i*e
14
js有没有"strict" compiler?HTML之所以messy就是因为所有的
browser都很tolerant,结果找不到错。而且tolerate的方式和程度
各不相同,使得html/js行为诡异,很难debug。

【在 s*******e 的大作中提到】
: 不知道。。。我工作了7,8年,以前看到javascript是能逃就逃,从来不做。这个月看
: 别人做,突然来兴趣了,钻研了一番,越来越有兴趣,当然水平还是挺差了,但是觉得
: 还挺好玩的。不过这个语法有错就自己跳过去,也不吭气,的确是挺怪的,不懂为啥。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。