- 16
- 0
- 约2.25万字
- 约 12页
- 2020-06-23 发布于江苏
- 举报
外文文献:
Evolving Java Without Changing the Language
In The Feel of Java James Gosling stated that: Java is a blue collar language. Its
not PhD thesis material but a language for a job. Java feels very familiar to many
different programmers because I had a very strong tendency to prefer things that had
been used a lot over things that just sounded like a good idea.
The extraordinary successof Java offers weight to the notion that this was a
sensible approach, and if it remains an important goal for Java today, then it makes
sense that the language should continue to evolve relatively slowly. In addition to this,
the fact that Java is a mature, widely used language causes its evolution to be fraught
with difficulty. For one thing, each feature added to the language can change the way
it feels in subtle and often unpredictable ways, risking alienating developers who have
already adopted it as their language of choice. For another, a feature that makes
perfect sense on its own may interact with other features of the language in awkward
or unexpected ways. Worse, once a language feature has been added it is all but
impossible to remove even if it turns out to be detrimental to the language as a whole.
To justify adding a new feature, a language designer must be highly confident that it
will be of long term benefit to the language rather than a short term or fashionable
solution to a problem that rapidly becomes redundant. To mitigate the risk a language
designer will typically experiment by creating a separate language or branch, such as
the Pizza language used to experiment with Javas generics, prior to their
implementation. The problem with this approach is that the audience for such
experiments is both small and self-selecting; obviously they will all be interested in
language features, and many may be academics or researchers. An idea which plays
well to such an audi
原创力文档

文档评论(0)