Python生产力增益? [英] Python Productivity Gain?

查看:60
本文介绍了Python生产力增益?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我读过的不同文章中,人们经常不知道Python的生产力提升。有人说,在某些情况下,Python的生产力增长比Java高出5到10倍。我注意到的一件奇怪的事情就是没有这个生产力增长的例子(即项目,程序等......)。有人可以给我一些现实生活中使用Python而不是其他

编程语言提高生产力的例子。


来自我的个人经验,我已经用Python编程了大约6个月的b $ b(但我已经用其他语言编程了10多年b
)并且我注意到了更多我已经习惯于在
Python中编程,我的编程速度越快。但是......只要您正在学习编程语言的

方法和概念,就可以使用您编程的任何语言来实现

。你的想法。


Kevin

In different articles that I have read, persons have constantly eluded to
the productivity gains of Python. One person stated that Python''s
productivity gain was 5 to 10 times over Java in some in some cases. The
strange thing that I have noticed is that there were no examples of this
productivity gain (i.e., projects, programs, etc.,...). Can someone give me
some real life examples of productivity gains using Python as opposed other
programming languages.

From my our personal experience, I have been programming with Python for
about 6 months (but I have been programming in other languages for over 10
years) and I have noticed that the more I had gotten use to programming in
Python, the more my programming speed has increased. But ... this is true
with any language that you program in as long as you are learning the
methodologies and concepts of the programming language. Your thoughts.

Kevin

推荐答案

kbass< kb *** @ midsouth.rr.com> ;写道:
kbass <kb***@midsouth.rr.com> wrote:
在我读过的不同文章中,人们总是不知道如何提高Python的生产力。有人说,在某些情况下,Python的生产率提高了5到10倍。我注意到的奇怪的事情是没有这种生产力增长的例子(即项目,程序等......)。有人可以给我一些使用Python而不是其他编程语言提高生产力的真实例子。

从我个人的经验来看,我一直在使用Python进行编程。大约6个月(但我已经用其他语言编程了10多年)我注意到我用Python编程越多,我的编程速度越快。但是......只要您正在学习编程语言的方法和概念,就可以使用您编程的任何语言。你的想法。
In different articles that I have read, persons have constantly eluded to
the productivity gains of Python. One person stated that Python''s
productivity gain was 5 to 10 times over Java in some in some cases. The
strange thing that I have noticed is that there were no examples of this
productivity gain (i.e., projects, programs, etc.,...). Can someone give me
some real life examples of productivity gains using Python as opposed other
programming languages.

From my our personal experience, I have been programming with Python for
about 6 months (but I have been programming in other languages for over 10
years) and I have noticed that the more I had gotten use to programming in
Python, the more my programming speed has increased. But ... this is true
with any language that you program in as long as you are learning the
methodologies and concepts of the programming language. Your thoughts.




过去,Python程序更短,更快,更易读,可写,而且更好。但是,这是在大多数

程序员拥有Unix背景的日子里。现在,大多数程序员都来自Windows背景,并且Python程序变得像Visual Basic或Perl那样冗长且不可读。

Ruby没有被破坏。它让复杂的东西变得简单了。但是,它仍然只是简单的事情而不是像Python那么简单。


-

William Park,Open Geometry Consulting,< op ***** *****@yahoo.ca>

用于数据管理和处理的Linux解决方案。



It used to be that Python programs were shorter, faster, readable,
writable, and simply better. But, this was during the days when most
programmers had Unix background. Nowdays, most of the programmers are
coming from Windows background, and Python programs have become as
verbose and unreadable as Visual Basic or Perl.

Ruby has not been corrupted as such. It make complicated thing less
complicated. But, it still make simply thing not as simple as Python.

--
William Park, Open Geometry Consulting, <op**********@yahoo.ca>
Linux solution for data management and processing.




" ;威廉公园 <运算********** @ yahoo.ca>在留言中写道

news:c0 ************* @ ID-99293.news.uni-berlin.de ...

"William Park" <op**********@yahoo.ca> wrote in message
news:c0*************@ID-99293.news.uni-berlin.de...
kbass< kb *** @ midsouth.rr.com>写道:
kbass <kb***@midsouth.rr.com> wrote:
在我读过的不同文章中,人们不断勉强获得
来提高Python的工作效率。有人说,在某些情况下,Python的生产率提高了5到10倍。我注意到的奇怪的事情是没有这种生产力增长的例子(即项目,程序等......)。有人可以用
给我一些使用Python而不是
其他编程语言的生活增益的实例。

从我个人的经验来看,我一直在使用Python进行编程。大约6个月(但是我已经用其他语言编程超过
10年)我注意到我用Python编程
越多,我的编程速度越快。但是......只要你正在学习编程语言的方法和概念,你就可以使用任何编程语言来获得
。你的想法。
In different articles that I have read, persons have constantly eluded to the productivity gains of Python. One person stated that Python''s
productivity gain was 5 to 10 times over Java in some in some cases. The
strange thing that I have noticed is that there were no examples of this
productivity gain (i.e., projects, programs, etc.,...). Can someone give me some real life examples of productivity gains using Python as opposed other programming languages.

From my our personal experience, I have been programming with Python for
about 6 months (but I have been programming in other languages for over 10 years) and I have noticed that the more I had gotten use to programming in Python, the more my programming speed has increased. But ... this is true with any language that you program in as long as you are learning the
methodologies and concepts of the programming language. Your thoughts.



过去,Python程序更短,更快,更易读,可写,而且更好。但是,这是在大多数程序员拥有Unix背景的日子里。现在,大多数程序员都来自Windows背景,并且Python程序变得像Visual Basic或Perl一样冗长和不可读。

Ruby没有像这样被破坏。它使复杂的事情变得复杂。但是,它仍然只是简单的事情而不是像Python那样简单。

-
William Park,Open Geometry Consulting,< op ********** @ yahoo。 ca>
用于数据管理和处理的Linux解决方案。



It used to be that Python programs were shorter, faster, readable,
writable, and simply better. But, this was during the days when most
programmers had Unix background. Nowdays, most of the programmers are
coming from Windows background, and Python programs have become as
verbose and unreadable as Visual Basic or Perl.

Ruby has not been corrupted as such. It make complicated thing less
complicated. But, it still make simply thing not as simple as Python.

--
William Park, Open Geometry Consulting, <op**********@yahoo.ca>
Linux solution for data management and processing.




恕我直言,任何编程语言的总体生产力增益来自

使用该语言编程的程序员。生产力增益

来自个人而且不是基于语言的。


我认为Python不允许由于
而使用草率的编程技术
它的代码行在整个程序中缩进。有Windows

程序员找到了通过这个方法吗?你是说有些程序员使用

a的Windows编程背景,与他们的Unix编程背景相比,他们的编程习惯很差吗?


Kevin



IMHO, the overall productivity gain of any programming language comes from
the programmers that are programming in the language. Productivity gain
comes from individuals and is not language based.

I thought that Python didn''t allow for sloppy programming techniques due to
it''s lines of code being indented throughout programs. Have Windows
programmers found a way pass this? Are you saying that some programmers with
a Windows programming background have poor programming practices when
compared to their Unix programming background counterparts?

Kevin


>在我读过的不同文章中,人们不断地忽略了
> In different articles that I have read, persons have constantly eluded to
Python的生产力提升。有人说在某些情况下,Python的生产率提高了5到10倍。
the productivity gains of Python. One person stated that Python''s
productivity gain was 5 to 10 times over Java in some in some cases.




我没有这方面的数据和关于Java,不能说。我可以给予我个人感觉

,这与C相比更多。


我会从几个方面看待生产力:


*需要多少行代码。更多的代码行真的很好

意味着编程的时间更长,错误的可能性更大。

*编写代码有多难 - 特定的java和C都有

这些括号必须被追踪......这确实需要时间......

虽然也许一个好的IDE可以为你处理。

*可能出现错误的复杂性 - 例如在C中(但可能不是那么多,在Java中很多b $ b) - 未初始化的变量和内存泄漏等都很大

问题。经常很难找到。您经常需要使用复杂的

调试工具来测试这类代码以查找内存损坏。


我在编写应用程序时的经验是全部这些东西

对python有利。你快速生成代码,语法是这样的,你不必追踪像括号一样的缺失组件,而且当你编写代码时,通常会非常有
几个运行时错误 -

除了逻辑错误 - 这通常是显而易见的。


在免费/开放环境方面,python也是最好的之一。


我同意其他一些海报 - 实际生产力将是b / b
取决于技能,以及你用来构建的工具的力量应用程序。 C

和Java可能有更好的商业开发工具和程序可能会更好地使用这些工具。


总而言之我是个蟒蛇人,原因很多。


Rob


PS对不起,如果你有多个帖子 - 我在我的

新闻客户端遇到问题。



I have no data on this and can''t say with respect to Java. I can give
my personal feeling and this is more compared to C.

I''d look at productivity in a few ways:

* How many lines of code does it take. More code lines really does
mean longer to program and more chance of errors.
* How hard it is to write code -- to be specific java and C have all
these brackets which have to be tracked down... this does take time...
though perhaps a good IDE handles that for you.
* Complexity of errors possible -- for example in C (but maybe not so
much in Java)-- un-initialized variables and memory leaks, etc are big
problems. Often very hard to find. You often have to use complex
debugging tools to test this sort of code an look for memory corruption.

My experience when writing an application is that all of these things
are favorable for python. You generate code fast, the syntax is such
that you don''t have to track down missing components like brackets, and
when you write the code there are usually very few runtime errors --
except for logic errors -- which are usually obvious.

In terms of free/open environments python is also one of the best.

I do agree with some of the other posters -- actual productivity will
depend on skill, and the power of the tools you use to build the app. C
and Java may have better commercial development tools and programs may
be better at using these.

All in all though, I''m a python guy for many reasons.

Rob

P.S. Sorry if you got more than one post--I''m having trouble with my
news client.


这篇关于Python生产力增益?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆