An Introduction to Java [20140924]

Our editor got a lot of flack for this paragraph from someone very high up at Sun Micro-
systems who shall remain unnamed. But,in hindsight,our prognosis seems accurate.
Java has a lot of nice language features-we examine them in detail later in this chapter.
It has its share of warts,and newer additions to the language are not as elegant as the
original ones because of the ugly reality of compatibility.


翻译:


我们的编辑从Sun Microsystem的某位不愿意透露姓名的高管那里得到了大量的这样的宣传语。
但是,现在看起来,我们当初的预测看起来正确无误。
java有很多好的语言特征,在本章后续将会对这些特征进行详细讨论。
java也有些缺点,因为兼容性的严峻现实,也有一些累赘增加到这个语言中。这让java看起来没有当初说的那么完美。






词汇:


high up:在高处;社会地位高的人
in hindsight:后见之明、现在看起来
prognosis:预测
accurate:正确无误的
share of:...的部分
wart:缺点
ugly:令人不愉快的
elegant:完美的


-----------------------------------------------------


But,as we already said in the first edition,Java was never just a language.There are lots
of programming language out there, and few of them make much of a splash.Java is a 
whole platform, with a huge library, containing lots of reusable code, and an execution
environment that provides services such as security, portability across operation systems,
and automatic garbage collection.


翻译:


但是,正如我们在第一版说过的,java不仅仅是一种语言。
过去出现过很多编程语言,但很少有如此大的轰动。
java是一个完整的平台,有一个庞大的库,其中包含大量的可复用的代码和一个可执行环境
(这个环境提供了诸如安全性、跨平台的可移植性、自动垃圾回收的服务)。


词汇:


out there:在那里
splash:溅泼声、光斑、轰动
huge:巨大的
reusable code:可复用的代码
execution environment:可执行环境
portability across operation systems:跨操作系统的可移植性
automatic garbage collection:自动垃圾回收


-----------------------------------------------------


As a programmer, you will want a language with a pleasant syntax and comprehensible
semantics(i.e.,not C++). Java fits the bill, as do dozens of other fine languages. Some
languages give you portability, garbage collecion, and the like, but they don't have
much of a library, forcing you to roll your own if you want fancy graphics or networking
or database access. Well, Java has everything-a good language, a high-quality execution
environment, and a vast library. That combination is what makes Java an irresistible
proposition to so many programmers.


翻译:


作为一个程序员,你想要一种语言(这种语言有令人愉快的语法和易于理解的语义)。
正如许多其他的优秀语言一样,java满足这个需求。
有些语言提供了可移植性、垃圾回收等等,但他们没有提供一个大型的库。
如果你需要一个别致的图表、或者网络、或者数据库访问,必须自己动手编写代码。
java有一切-一个好的语言,一个高质量的可执行环境,一个大型的库。
对许多程序员来说,那个结合体(多种优势集于一身)让java变成一个无法抗拒的选择。




词汇:
syntax:语法
comprehensible:容易理解的
senmantics:语义学
fit the bill:满足需求
dozens of:许多...
the like:类似的东西
much of a:相当的、十分好的
protability:可移植性
fancy:别致的
roll your own:自己动手
combination:结合体(多种特征集于一身)
irresistible:无法抗拒的
proposition:建议、提议、主张













  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值