与Python有什么不同? [英] What is different with Python ?

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

问题描述

我提前为发布这篇文章道歉,但我可能会得到启发

不知何故(PS:我是_very_不可知;-)。


- 1 )我不认为我的智力/教育水平高于平均水平

- 2)我非常务实

- 3)当我得到正确的感觉时,我通常会前进

- 4)最有可能是因为1),我通常无法完全解释3)

当它实现时。

- 5)我已经在许多不同的环境中开发了多年(> 18),

语言和O / S'(包括实时内核)。

然而我第一次得到(大多数)我的问题用一种语言来回答我在一年前不知道。


我试着去理解概念,当我能够,我希望尝试找到为什么Python看起来不同的原因。

有时跟着这个新闻组,我现在有直觉感觉

(见3))其他人有f哎呀。

Quid?


问候,


Philippe




I apologize in advance for launching this post but I might get enlightment
somehow (PS: I am _very_ agnostic ;-).

- 1) I do not consider my intelligence/education above average
- 2) I am very pragmatic
- 3) I usually move forward when I get the gut feeling I am correct
- 4) Most likely because of 1), I usually do not manage to fully explain 3)
when it comes true.
- 5) I have developed for many years (>18) in many different environments,
languages, and O/S''s (including realtime kernels) .
Yet for the first time I get (most) of my questions answered by a language I
did not know 1 year ago.

As I do try to understand concepts when I''m able to, I wish to try and find
out why Python seems different.

Having followed this newsgroup for sometimes, I now have the gut feeling
(see 3)) other people have that feeling too.
Quid ?

Regards,

Philippe




推荐答案

Philippe C. Martin写道:
Philippe C. Martin wrote:
我提前为发布这篇文章而道歉但是我可能会得到启发
某种方式(PS:我是_very_不可知;-)。

- 1)我不认为我的智力/教育高于平均水平
- 2)我是非常务实
- 3)当我得到正确的感觉时,我通常会向前走。
- 4)最有可能是因为1),我通常无法完全解释3)
当它实现时。
- 5)我已经在许多不同的环境,
语言和O / S(包括实时内核)中开发了多年(> 18)。

然而,我第一次得到(大部分)我的问题用一年前我不知道的语言来回答。

当我尝试理解概念时我能够,我想尝试找到
为什么Python看起来不同。
I apologize in advance for launching this post but I might get enlightment
somehow (PS: I am _very_ agnostic ;-).

- 1) I do not consider my intelligence/education above average
- 2) I am very pragmatic
- 3) I usually move forward when I get the gut feeling I am correct
- 4) Most likely because of 1), I usually do not manage to fully explain 3)
when it comes true.
- 5) I have developed for many years (>18) in many different environments,
languages, and O/S''s (including realtime kernels) .
Yet for the first time I get (most) of my questions answered by a language I
did not know 1 year ago.

As I do try to understand concepts when I''m able to, I wish to try and find
out why Python seems different.




不幸的是,你没有举例说明你为过去18年的

所做的事情(除了那也包括RT内核)。


所以让我猜两个方面:


1.在这18年中,你结识了各种语言的各种概念

。在处理Python时,您可以轻松地将Python概念与您熟悉的概念相关联。
with。这是Python的优势之一:它试图不会令人惊讶,但建立在大多数人认为标准的基础之上。

尝试导入这个一段时间;你可能正在经历禅宗:


可读性计数。

...

特殊情况并不特别打破规则。

虽然实用性胜过纯洁。

...

面对模棱两可,拒绝猜测的诱惑。 />

2.您之前可能没有使用过弱类型的语言。如果

就是这种情况,你对某些不同的感觉很可能来自这个差异。


此致,

Martin



Unfortunately, you didn''t give many examples of what you did for the
last 18 years (except that that also included RT kernels).

So let me guess two aspects:

1. In these 18 years, you got acquainted to a variety of concepts
in various languages. When dealing with Python, you could easily
correlate between Python concepts and the ones you are familiar
with. This is one of Python''s strenghts: it tries not to be
surprising, but builds on what most people consider standard.
Try "import this" some time; you may be experiencing the Zen:

Readability counts.
...
Special cases aren''t special enough to break the rules.
Although practicality beats purity.
...
In the face of ambiguity, refuse the temptation to guess.

2. You may not have dealt with a weakly-typed language before. If
that is the case, your feeling of "something being different"
most likely comes from that difference.

Regards,
Martin


Philippe C. Martin写道:
Philippe C. Martin wrote:
我提前为发布此帖而道歉但我可能会得到启发
某种方式(PS:我是_very_不可知;-)。

- 1)我不认为我的智力/教育高于平均水平
- 2)我非常务实
- 3)我通常向前走,当我得到正确的感觉时我是正确的
- 4)最有可能是因为1),我通常无法完全解释3)
它实现了。
- 5)我已经在许多不同的环境,
语言和O / S(包括实时内核)中开发了多年(> 18)。

然而,这是我第一次(大部分)用一种语言回答我的问题,我在一年前就不知道了。


我无法理解这句话。什么问题?哪种语言?


你的意思是,目前,当你需要解决问题时,你通常会使用Python,即使你是相对较新的?在学习Python之前你通常使用各种语言,没有

主宰其他语言?

我试着理解概念时我能够,我希望尝试找出为什么Python看起来不同。
I apologize in advance for launching this post but I might get enlightment
somehow (PS: I am _very_ agnostic ;-).

- 1) I do not consider my intelligence/education above average
- 2) I am very pragmatic
- 3) I usually move forward when I get the gut feeling I am correct
- 4) Most likely because of 1), I usually do not manage to fully explain 3)
when it comes true.
- 5) I have developed for many years (>18) in many different environments,
languages, and O/S''s (including realtime kernels) .

Yet for the first time I get (most) of my questions answered by a language I
did not know 1 year ago.
I cannot understand this sentence. What questions? Which language?

Do you mean that, currently, when you need to solve a problem, you
usually use Python even though you are relatively new to it? And that
before learning Python you usually used a variety of languages, none
dominating the others?
As I do try to understand concepts when I''m able to, I wish to try and find
out why Python seems different.




Python是我选择的语言,因为它不是''阻碍。我不需要将我的问题转化为严格的类heirarchies或

递归函数。我没有必要构建整个系统来测试

只是其中的一部分。交互式提示对我的工作流程至关重要。总的来说,我只是做得好。


一个,最好只有一个明显的方法原则和

Python强调可读性意味着我在编写代码时获得知识和

的能力。当我需要做六个月的类似任务后,我不需要花费大量的时间来搞清楚。

我到底在想什么然后。同样地,我也可以阅读和学习别人的代码,比Perl更多。


-

Robert Kern
rk***@ucsd.edu


"在草地长得高的地狱里

梦想的坟墓是否已经死亡。

- Richard Harter


Martin v.L?wis写道:
Martin v. L?wis wrote:
Philippe C. Martin写道:
Philippe C. Martin wrote:
- 5)I已经在许多不同的环境,
语言和O / S(包括实时内核)中开发了多年(> 18)。
- 5) I have developed for many years (>18) in many different environments,
languages, and O/S''s (including realtime kernels) .



2.你可以以前没有处理过弱类型的语言。如果是这样的话,你对某些不同的感觉很可能来自于这种差异。



2. You may not have dealt with a weakly-typed language before. If
that is the case, your feeling of "something being different"
most likely comes from that difference.




如果他''做了实时内核,他最肯定使用了一种弱的

类型语言(最有可能组装),但我认为你的意思是

说(或应该已经说过动态打字。


-Peter



If he''s done realtime kernels, he''s most definitely worked with a weakly
typed language before (assembly most likely), but I think you meant to
say (or should have said) "dynamically typed".

-Peter


这篇关于与Python有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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