为什么学习Python? [英] Why learn Python ??

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

问题描述

我现在有空闲时间和金钱去做我想做的事:-)

我有一些编程的基本技能(C,Pascal,Macromedia

Actionscript)但是我不知道在编程领域到底要做什么。

而且我也不知道为什么我会学习Python而不是C#,

C ++或者Perl。基本上我不知道从哪里开始,如果有很多工作要做或者

如果它似乎已经存在并且现在有一些软件也是如此

doesn花时间学习编程语言是没有意义的。

我只是有这个想法,我想为这个曲线做出贡献

加速指数进步(技术奇点),人工

智力等等。从这个角度来看,还有很多工作要做......但是我能支持它吗?b / b我可以从哪里开始?

任何人都会帮我并给我一些提示?


-BichoVerde

解决方案

" Bicho Verde" <毕******** @ sapo.pt>写道:

而且我也不知道为什么我会学习Python而不是C#,
C ++或Perl。基本上我不知道从哪里开始,如果有很多工作要做或者
如果它看起来如此,现在有一些软件,所以
花时间没有意义学习编程语言。


除非你正在开展一个很大的
多人项目,否则我会说不要打扰C ++。它的设计对你没有任何意义,除非你已经面对这些项目中遇到的问题。否则

这是一个大混乱。


Perl有它的粉丝,我不能保证你不会成为一个。它就像一种自然的(口语)语言一样构建了

,也就是说,它没有被设计,只是

有点进化,并且有各种各样的专门的规则和例外

和多种方式做同样的事情。有些人认为'b
很棒。其他人(大多数Python粉丝)认为Perl是个烂摊子。这本书

" Learning Perl"施瓦茨和克里斯蒂安森肯定非常好,

所以你可以看看它来决定你是否喜欢Perl。但是请注意,

的书只是表面上的问题,Perl会越深入你的内容。


C#主要是微软特有的,并不是很严重完成它,IMO。

我只是有这个想法,我想为加速指数进展(技术奇点),人工智能等等曲线做出贡献。 。从这个角度来看还有很多工作要做......但是我可以代表它吗?从哪里开始?
任何人都会帮助我并给我一些提示?




传统上,这种研究已在Lisp中完成。你可以看看温斯顿和霍恩关于Lisp的书,这也是对AI方法的一个很好的介绍。

< br>

" Bicho Verde"写道:

我现在有空闲时间和金钱做我想做的事情:-)

我有一些编程的基本技能(C,Pascal,
Macromedia动作脚本)但不知道在编程世界中究竟该做什么。

而且我也不知道为什么我会学习Python而不是C#,C ++或Perl。基本上我不知道从哪里开始,如果有很多工作要做,或者它是否有它似乎
并且现在有一些软件,所以
不做花时间学习编程语言的感觉。

我只是有这个想法,我想为加速指数进展的曲线贡献
(技术奇点),人工智能等等。从这个角度来看,还有很多工作要做......但是我能支持它吗?从哪里开始?

任何人都会帮我并给我一些提示?




我在很大程度上同意保罗的评论。


C#是微软的宝贝,虽然它在技术上是一个开放标准 -

除非你有理由否则不要去那里。


Perl非常酷,但我肯定发现它更难使用而且更少

比Python更直观。


我不会完全忽略C ++(甚至是vanilla C)。我强烈建议用bb开头,当你有一个好的

的原因时,建议使用C和C ++ - 也就是说,当这些语言让你做的事情

Python不仅仅是一流的:大型应用程序,系统
软件,性能关键型应用程序,嵌入式编程,




我还想补充一点,虽然Lisp一直是AI

社区的最爱,但你会发现大多数人工智能技术都归结为大多数

任何编程语言。我在研究生院花了很多时间

和我第一份用C ++进行AI编程的工作。我唯一一次使用

Lisp是在入门课程,主要是写优雅 - 但是

玩具 - 程序。

我想我并没有真正回答主要问题:为什么学习Python

over Perl,C / C ++,C#等等。


简而言之,因为它更容易编程,不会与平台绑定,

并且开箱即用并具有许多高级功能。

I have now free time and money to do what I want :-)
I have some basic skills in programming (C, Pascal, Macromedia
Actionscript) but don''t know exactly what to do in the world of programming.
And also I don''t know exactly why would I learn Python rather than C#,
C++ or Perl. Basicaly I don''t know where to start, if there is much to do or
if it is has it seems and there is software to everything nowadays and so
doesn''t make sense to spend time in learning a programming language.
I just have this idea that I would like to contribute to the curve of
accelarated exponential progress (technological singularity), artificial
intelligence and so on. From that point of view there is much to do... But
can I stand for it and where to start?
Anyone would help me and give me some hints?

-BichoVerde

解决方案

"Bicho Verde" <bi********@sapo.pt> writes:

And also I don''t know exactly why would I learn Python rather than C#,
C++ or Perl. Basicaly I don''t know where to start, if there is much to do or
if it is has it seems and there is software to everything nowadays and so
doesn''t make sense to spend time in learning a programming language.
I''d say don''t bother with C++ unless you''re working on a big
multi-person project. Its design will make no sense to you unless
you''ve faced the problems that come up in those projects. Otherwise
it''s a big mess.

Perl has its fans and I can''t promise you won''t be one. It''s built
like a natural (spoken) language, that is, it wasn''t designed, it just
sort of evolved, and has all kinds of specialized rules and exceptions
and multiple ways of doing the same thing. Some people think that''s
great. Others (most Python fans) think Perl is a big mess. The book
"Learning Perl" by Schwartz and Christiensen is definitely very good,
so you might look at it to decide if you like Perl. But note that the
book only scratches the surface, and Perl gets messier the deeper you go.

C# is mostly Microsoft-specific and not much serious is done with it, IMO.
I just have this idea that I would like to contribute to the curve of
accelarated exponential progress (technological singularity), artificial
intelligence and so on. From that point of view there is much to do... But
can I stand for it and where to start?
Anyone would help me and give me some hints?



Traditionally that kind of research has been done in Lisp. You could
look at Winston and Horn''s book on Lisp, which is also a reasonably
good introduction to AI methods.


"Bicho Verde" wrote:

I have now free time and money to do what I want :-)

I have some basic skills in programming (C, Pascal,
Macromedia Actionscript) but don''t know exactly what to do
in the world of programming.

And also I don''t know exactly why would I learn Python
rather than C#, C++ or Perl. Basicaly I don''t know where
to start, if there is much to do or if it is has it seems
and there is software to everything nowadays and so
doesn''t make sense to spend time in learning a programming
language.

I just have this idea that I would like to contribute
to the curve of accelarated exponential progress
(technological singularity), artificial intelligence and so
on. From that point of view there is much to do... But can
I stand for it and where to start?

Anyone would help me and give me some hints?



I agree in large part with Paul''s comments.

C# is Microsoft''s baby though it''s technically an open standard --
don''t go there unless you have a reason.

Perl is pretty cool but I definitely found it harder to use and less
intuitive than Python.

I would not dismiss C++ (or even vanilla C) outright. I strongly
suggest starting in Python and looking to C and C++ when you have good
reason -- that is, when those languages will let you do something that
Python is less than than stellar at: large applications, system
software, performance-critical applications, embedded programming,
etc.

I would also add that while Lisp has been a favorite in the AI
community, you will find that most AI techniques generalize to most
any programming language. I spent a good deal of time in grad school
and on my first job doing AI programming in C++. The only time I used
Lisp was in introductory classes, mostly to write elegant -- but
toy -- programs.


I guess I didn''t really answer the main question: Why learn Python
over Perl, C/C++, C#, etc.

In short, because it''s easier to program, isn''t tied to a platform,
and has lots of high-level functionality right out of the box.


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

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