由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Top Ten Errors Java Programmers Make(8)
相关主题
Top Ten Errors Java Programmers Make(4)Top Ten Errors Java Programmers Make(1)
求推荐速成的java入门书考一个sun certified programmer 310-035 大约需要多久?
Top Ten Errors Java Programmers Make(10)Help with Tomcat for Eclipse v1.03
Top Ten Errors Java Programmers Make(7)Tomcat JSP syntax error
Top Ten Errors Java Programmers Make(6)developer, programmer, software engieer有什么区别
Top Ten Errors Java Programmers Make(5)talk about benchmarking java
Top Ten Errors Java Programmers Make(3)有个问题一直想问问
Top Ten Errors Java Programmers Make(2)Top Ten Errors Java Programmers Make(9)
相关话题的讨论汇总
话题: java话题: pascal话题: make话题: comparison话题: top
进入Java版参与讨论
1 (共1页)
b*g
发帖数: 644
1
8. Comparison assignment ( = rather than == )
This is an easy error to make. If you're used other languages before,
such as Pascal, you'll realize just how poor a choice this was by the
language's designers. In Pascal, for example, we use the := operator for
assignment, and leave = for comparison. This looks like a throwback
to C/C++, from which Java draws its roots.
Fortunately, even if you don't spot this one by looking at code on the
screen, your compiler will. Most commonly, it will report
1 (共1页)
进入Java版参与讨论
相关主题
Top Ten Errors Java Programmers Make(9)Top Ten Errors Java Programmers Make(6)
to Water, other future programmersTop Ten Errors Java Programmers Make(5)
Re: question:linked list?Top Ten Errors Java Programmers Make(3)
my collection for Sun certified Java ProgrammerTop Ten Errors Java Programmers Make(2)
Top Ten Errors Java Programmers Make(4)Top Ten Errors Java Programmers Make(1)
求推荐速成的java入门书考一个sun certified programmer 310-035 大约需要多久?
Top Ten Errors Java Programmers Make(10)Help with Tomcat for Eclipse v1.03
Top Ten Errors Java Programmers Make(7)Tomcat JSP syntax error
相关话题的讨论汇总
话题: java话题: pascal话题: make话题: comparison话题: top