本文介绍了python vs java&日食的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在我看来,用编程语言衡量生产力

必须考虑可用的工具和库。

对于中等规模的项目。


当然,所有Java静态打字都会让人感到痛苦,但Eclipse会带来一些痛苦的消息。此外,静态类型可以带来更好的即时错误检测和重构支持。


对此有何看法?


Amir

Hi,

It seems to me that measuring productivity in a programming language
must take into account available tools and libraries.

Eclipse for example provides such an amazing IDE for java that it is no
longer obvious to me that one would be much more productive in python
for medium sized projects.

Sure, all that Java static typing can be painful, but Eclipse takes
some of that pain away. Moreover, static typing can result in better
on-the-fly error detection and refactoring support.

Any thoughts on this?

Amir

推荐答案



Eclipse可以生成很多Java样板代码,这是真的,

可以节省大量的打字费用。但是它不能为你保留所有那些无意义的代码,也许更重要的是,它不能为你读取它的b $ b。 Java所需的所有无用代码仍然需要很高的价格,即使你不需要自己输入它。

Eclipse can generate a lot of the Java boilerplate code, it''s true,
saving you a lot of typing up front. But it can''t maintain all those
reams of pointless code for you, and perhaps more importantly, it
can''t read it for you. All the useless code that Java requires still
has a large price, even if you don''t need to type it yourself.



我有时会花一些时间查找和修复I

的错误,虽然我有一个垃圾邮件实例,但事实证明成为一个Eggs实例

在Python中编码时出现问题,但后来我花了一些时间整理出来

我知道你有一个fry()方法在某处 - 只是让我

称之为! Java中的问题,所以它可以平衡。后面的问题

更烦人,''我觉得编译器不信任我。 Python

通常信任我,即使我并不总是应得的。 ;-)


FWIW,我花费80%的编码时间用Java(和Eclipse),

和20%用Python。


-

干杯,

Simon B






我不知道raw_input ...我的程序都经过一些GUI ...

但我运行/调试(虽然几乎没有)我的所有应用程序来自

pydev - 不需要像Visual Studio一样更改项目,我只需要点击几下就可以运行/调试我需要的任何内容......几个星期没有碰过Konsole




经过数周的测试后,我还决定投资pydev

扩展/它为我找到的错误已经证明了投资的合理性。


hg

I don''t know about raw_input ... my programs all go through some GUI ...
but I run / debug(although almost never) all of my applications from
pydev - no need to change project as with Visual Studio, I just
run/debug whatever I need with a few clicks ... have not touched Konsole
in weeks.

I also, after weeks of testing, decided to invest in the pydev
extensions / the bugs it has found for me already justify the investment.

hg


这篇关于python vs java&日食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 05:53