Redian新闻
>
[转帖]如何才算掌握Java(J2SE篇)
avatar
[转帖]如何才算掌握Java(J2SE篇)# Java - 爪哇娇娃
A*o
1
时常看到一些人说掌握了Java,但是让他们用Java做一个实际的项目可能又困难重重,
在这里,笔者根据自己的一点理解斗胆提出自己的一些对掌握Java这个说法的标准,当
然对于新手,也可以提供一个需要学习哪些内容的参考。另外这个标准仅限于J2SE部分
,J2EE部分的内容有时间再另说。
1、语法:必须比较熟悉,在写代码的时候IDE的编辑器对某一行报错应该能够根据
报错信息知道是什么样的语法错误并且知道任何修正。
2、命令:必须熟悉JDK带的一些常用命令及其常用选项,命令至少需要熟悉:
appletviewer、HtmlConverter、jar、java、javac、javadoc、javap、javaw、
native2ascii、serialver,如果这些命令你没有全部使用过,那么你对java实际上还
很不了解。
3、工具:必须至少熟练使用一种IDE的开发工具,例如Eclipse、Netbeans、
JBuilder、Jdeveloper、IDEA、JCreator或者Workshop,包括进行工程管理、常用选项
的设置、插件的安装配置以及进行调试。
4、API:Java的核心AP
avatar
g*g
2

I never used native2ascii, javap, HtmlConverter, so I don't know java at all.
//blush

【在 A**o 的大作中提到】
: 时常看到一些人说掌握了Java,但是让他们用Java做一个实际的项目可能又困难重重,
: 在这里,笔者根据自己的一点理解斗胆提出自己的一些对掌握Java这个说法的标准,当
: 然对于新手,也可以提供一个需要学习哪些内容的参考。另外这个标准仅限于J2SE部分
: ,J2EE部分的内容有时间再另说。
: 1、语法:必须比较熟悉,在写代码的时候IDE的编辑器对某一行报错应该能够根据
: 报错信息知道是什么样的语法错误并且知道任何修正。
: 2、命令:必须熟悉JDK带的一些常用命令及其常用选项,命令至少需要熟悉:
: appletviewer、HtmlConverter、jar、java、javac、javadoc、javap、javaw、
: native2ascii、serialver,如果这些命令你没有全部使用过,那么你对java实际上还
: 很不了解。

avatar
h*d
3
used native2ascii once long time ago, and never used the other two:(
I don't know java either:)

all.

【在 g*****g 的大作中提到】
:
: I never used native2ascii, javap, HtmlConverter, so I don't know java at all.
: //blush

avatar
g*g
4
I never had a chance to use native2ascii, maybe devs in China will
be more concerned. I'll take decompiler over Javap any day of the week.
Htmlconverter, how about grab an real applet example from google and
start from there?
This is the top skill a java dev needs, know how to efficiently use
google and copy/paste.

【在 h**d 的大作中提到】
: used native2ascii once long time ago, and never used the other two:(
: I don't know java either:)
:
: all.

avatar
h*d
5
You are right. I had to use native2ascii when I did a project in China. I
almost forgot about it since I created an ant task, and never used the
command directly afterwards, hehe.
haha...if you could c/p the unit test, that's even better:D

【在 g*****g 的大作中提到】
: I never had a chance to use native2ascii, maybe devs in China will
: be more concerned. I'll take decompiler over Javap any day of the week.
: Htmlconverter, how about grab an real applet example from google and
: start from there?
: This is the top skill a java dev needs, know how to efficiently use
: google and copy/paste.

avatar
m*t
6
Man, this is tough... I have only used native2ascii and javap once. Never
used HtmlConverter.
I like the fact that the author remembered to include testing/building/
coding style, which are often ignored when assessing a developer.
avatar
g*g
7

Coding style bothers me a lot when it comes to a team. Can CVS or eclipse
plugin enforces you to apply some common formatting before commit?
In a merge situation, if you check out and format it,
and someone else checked in the same file before you do, you are screwed.

【在 m******t 的大作中提到】
: Man, this is tough... I have only used native2ascii and javap once. Never
: used HtmlConverter.
: I like the fact that the author remembered to include testing/building/
: coding style, which are often ignored when assessing a developer.

avatar
A*o
8
i'll either format, check in, then change, check in,
or change, check in, then format, check in.
checkstyle, some code style template, some inspection tool

【在 g*****g 的大作中提到】
:
: Coding style bothers me a lot when it comes to a team. Can CVS or eclipse
: plugin enforces you to apply some common formatting before commit?
: In a merge situation, if you check out and format it,
: and someone else checked in the same file before you do, you are screwed.

avatar
h*d
9
Use checkstyle in your build script and continuous integration, I have used
for a long time without any prob
Eclipse has checkstyle plugin as well.
Also use the same IDE java template with in the team

【在 g*****g 的大作中提到】
:
: Coding style bothers me a lot when it comes to a team. Can CVS or eclipse
: plugin enforces you to apply some common formatting before commit?
: In a merge situation, if you check out and format it,
: and someone else checked in the same file before you do, you are screwed.

avatar
h*d
10
ft...u r faster...

【在 A**o 的大作中提到】
: i'll either format, check in, then change, check in,
: or change, check in, then format, check in.
: checkstyle, some code style template, some inspection tool

avatar
u*e
11
参与过一两个工业级软件的编写就应该算基本掌握了吧
当然这并不意味着写出的code漂亮。
起码还得懂一点PATTERN和ALGORITHM的应用,熟悉一些工业标准。。。又扯远了

【在 A**o 的大作中提到】
: 时常看到一些人说掌握了Java,但是让他们用Java做一个实际的项目可能又困难重重,
: 在这里,笔者根据自己的一点理解斗胆提出自己的一些对掌握Java这个说法的标准,当
: 然对于新手,也可以提供一个需要学习哪些内容的参考。另外这个标准仅限于J2SE部分
: ,J2EE部分的内容有时间再另说。
: 1、语法:必须比较熟悉,在写代码的时候IDE的编辑器对某一行报错应该能够根据
: 报错信息知道是什么样的语法错误并且知道任何修正。
: 2、命令:必须熟悉JDK带的一些常用命令及其常用选项,命令至少需要熟悉:
: appletviewer、HtmlConverter、jar、java、javac、javadoc、javap、javaw、
: native2ascii、serialver,如果这些命令你没有全部使用过,那么你对java实际上还
: 很不了解。

avatar
c*c
12
什么乱七八糟的
能按时按质完成老板的活就是掌握了java,否则就是没有

【在 A**o 的大作中提到】
: 时常看到一些人说掌握了Java,但是让他们用Java做一个实际的项目可能又困难重重,
: 在这里,笔者根据自己的一点理解斗胆提出自己的一些对掌握Java这个说法的标准,当
: 然对于新手,也可以提供一个需要学习哪些内容的参考。另外这个标准仅限于J2SE部分
: ,J2EE部分的内容有时间再另说。
: 1、语法:必须比较熟悉,在写代码的时候IDE的编辑器对某一行报错应该能够根据
: 报错信息知道是什么样的语法错误并且知道任何修正。
: 2、命令:必须熟悉JDK带的一些常用命令及其常用选项,命令至少需要熟悉:
: appletviewer、HtmlConverter、jar、java、javac、javadoc、javap、javaw、
: native2ascii、serialver,如果这些命令你没有全部使用过,那么你对java实际上还
: 很不了解。

avatar
h*d
13
ft,现在这世道,还这么迷信老板?

【在 c***c 的大作中提到】
: 什么乱七八糟的
: 能按时按质完成老板的活就是掌握了java,否则就是没有

avatar
y*o
14
AWT and SWING are not that necessary bah if you do server side only dehua.
avatar
g*g
15
Even server guys write gui code once a while.
I am a server guy and I started maintaining my admin console in SWT
in day 2, without ever writing one line of SWT before, AWT and SWING
knowledge certainly helped some time.

【在 y********o 的大作中提到】
: AWT and SWING are not that necessary bah if you do server side only dehua.
avatar
p*d
16
Kao,这玩意真难界定...结果就是我没掌握 :-(

【在 A**o 的大作中提到】
: 时常看到一些人说掌握了Java,但是让他们用Java做一个实际的项目可能又困难重重,
: 在这里,笔者根据自己的一点理解斗胆提出自己的一些对掌握Java这个说法的标准,当
: 然对于新手,也可以提供一个需要学习哪些内容的参考。另外这个标准仅限于J2SE部分
: ,J2EE部分的内容有时间再另说。
: 1、语法:必须比较熟悉,在写代码的时候IDE的编辑器对某一行报错应该能够根据
: 报错信息知道是什么样的语法错误并且知道任何修正。
: 2、命令:必须熟悉JDK带的一些常用命令及其常用选项,命令至少需要熟悉:
: appletviewer、HtmlConverter、jar、java、javac、javadoc、javap、javaw、
: native2ascii、serialver,如果这些命令你没有全部使用过,那么你对java实际上还
: 很不了解。

avatar
m*t
17
I have always thought of coding style more as a process issue than as a
technical one. There is checkstyle (as everybody else has pointed out).
There is doccheck. And there is exportable/importable Eclipse formatters
that can be easily published across the team (which I'm sure other IDE's
support as well). But nothing will work until it's actually enforced, which
costs money and time.
I once worked on a team where a perfect checkstyle report is a _mandatory_
article to bring into your code revie

【在 g*****g 的大作中提到】
: Even server guys write gui code once a while.
: I am a server guy and I started maintaining my admin console in SWT
: in day 2, without ever writing one line of SWT before, AWT and SWING
: knowledge certainly helped some time.

avatar
m*t
18
And as far as merge time is concerned, forget the coding style, I would be
all happy as long as everybody can just stick to the same tab and eol
settings! 8-)

【在 g*****g 的大作中提到】
: Even server guys write gui code once a while.
: I am a server guy and I started maintaining my admin console in SWT
: in day 2, without ever writing one line of SWT before, AWT and SWING
: knowledge certainly helped some time.

avatar
h*d
19
哈哈,以前没有checkstyle的时候,
每次开始做项目,俺们都得让大家到自己的IDE里把tab那个选项选了

【在 m******t 的大作中提到】
: And as far as merge time is concerned, forget the coding style, I would be
: all happy as long as everybody can just stick to the same tab and eol
: settings! 8-)

avatar
h*d
20
Right, we bundle checkstyle in our local ant build before people checkin.
Also cruisecontrol will enforce that too:) People got frustrated at the
beginning of the project when their builds failed because of checkstyle
errors. As the project goes on, everybody got used to it.

which

【在 m******t 的大作中提到】
: I have always thought of coding style more as a process issue than as a
: technical one. There is checkstyle (as everybody else has pointed out).
: There is doccheck. And there is exportable/importable Eclipse formatters
: that can be easily published across the team (which I'm sure other IDE's
: support as well). But nothing will work until it's actually enforced, which
: costs money and time.
: I once worked on a team where a perfect checkstyle report is a _mandatory_
: article to bring into your code revie

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