且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

python vs java&日食

更新时间:2021-10-21 15:48:31

2006年12月1日01:24:47 -0800,Amir Michail< am * *****@gmail.com写道:
On 1 Dec 2006 01:24:47 -0800, Amir Michail <am******@gmail.comwrote:

例如,Eclipse为java提供了这样一个令人惊叹的IDE,它没有

更明显对我来说,一个人在python中会更有效率

对于中等规模的项目。
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.



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.


当然,所有Java静态类型都可能很痛苦,但是Eclipse会带走一些痛苦的东西。此外,静态类型可以带来更好的动态错误检测和重构支持。
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.



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

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

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

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

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

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

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


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

和20%用Python。


-

干杯,

Simon B
si *** @ brunningonline.net
http ://www.brunningonline.net/simon/blog/


刚刚使用了py dev插件进行eclipse。

it很棒。

自动缩进和智能。

和所有其他东西。

所以现在从这一端看起来如何?

python +生产力和eclipse +生产力=双倍生产力!

只有插件的问题是我发现很难管理运行的

脚本。 br />
我打开命令提示符并手动运行脚本。

对此有任何建议。

例如我有name = raw_input(&please;)输入你的名字) d

时刻我键入键盘上的第一个字母代码执行

移动到下一个语句。它应该不等待返回

键一如既往吗?

Krishnakant。
just used the py dev plugin for eclipse.
it is great.
auto indentation and intellisence.
and all other things.
so now how does it look from this end?
python + productivity and eclipse + productivity = double productivity!
only problem with the plugin is that I find it difficult to manage the
script running.
I open a command prompt and run the scripts manually.
any suggestion for this.
for example I had name = raw_input("please enter your name") and the
moment I type the first letter on the keyboard the code execution
moves over to the next statement. should it not wait for the return
key as it always does?
Krishnakant.


krishnakant Mane写道:
krishnakant Mane wrote:

只是使用了eclipse的py dev插件。

很棒。

自动缩进和intellisence。

和所有其他东西。

所以现在它看起来如何?

python +生产力和eclipse +生产力=双倍生产力!

只有插件的问题是我发现很难管理运行的

脚本。

我打开一个命令提示符并运行脚本手动。

任何建议。

例如我有name = raw_input(请输入你的名字)和

时刻我键入键盘上的第一个字母代码执行

移动到下一个语句。它应该不等待返回

键一如既往吗?

Krishnakant。
just used the py dev plugin for eclipse.
it is great.
auto indentation and intellisence.
and all other things.
so now how does it look from this end?
python + productivity and eclipse + productivity = double productivity!
only problem with the plugin is that I find it difficult to manage the
script running.
I open a command prompt and run the scripts manually.
any suggestion for this.
for example I had name = raw_input("please enter your name") and the
moment I type the first letter on the keyboard the code execution
moves over to the next statement. should it not wait for the return
key as it always does?
Krishnakant.



我不知道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