我应该在C ++之后学习Python吗?

时间:2022-09-11 10:23:43

I`m currently studying C++ and want to learn another language.
For work I use C# + ASP (just started learning it, actually), but I want something "less Microsoft" and powerful.
I have heard Python is a popular and powerful language, not so complicated as C++. But many people mentioned it was hard for them to get back to C++/Java from Python because they started thinking in it, get used to absence of memory management, etc. What do you recommend?

我目前正在学习C ++,想学习另一种语言。对于工作,我使用C#+ ASP(实际上刚开始学习它),但我想要一些“少微软”和强大的东西。我听说Python是一种流行且功能强大的语言,并不像C ++那么复杂。但是很多人提到他们很难从Python回到C ++ / Java,因为他们开始考虑它,习惯于没有内存管理等等。你推荐什么?

17 个解决方案

#1


There's no right or wrong answer, really. But I think you'll benefit more from learning Python. Given the similarities between C# and C++, you'll learn a different way of thinking from Python. The more ways you learn to think about a problem, the better it makes you as a programmer, regardless of the language.

真的,没有正确或错误的答案。但我认为从学习Python中获益更多。鉴于C#和C ++之间的相似之处,您将从Python中学习不同的思维方式。学习思考问题的方式越多,无论语言如何,它都会使您成为程序员。

#2


The benefit of going from a more static language to a dynamic language is to change your programming paradigm -- it's not a matter of becoming "lazy" so much as realizing new ways of accomplishing things, which will make you better in any language.

从更静态的语言转变为动态语言的好处是改变你的编程范式 - 这不是变得“懒惰”的问题,而是实现新的完成事物的方式,这将使你在任何语言中变得更好。

#3


Well, I've learnt Python after C/C++, Java and C#. Python is a great language, and its simplicity and consistency have improved the way I code. It has also helped me think more clearly about the algorithms underlying my code. I could go on about the benifits it brought me, instead I'll summarize the reason to learn it ->

好吧,我在C / C ++,Java和C#之后学习了Python。 Python是一种很棒的语言,它的简单性和一致性改进了我的编码方式。它还帮助我更清楚地思考我的代码所依据的算法。我可以继续谈论它给我带来的好处,而不是总结学习它的理由 - >

Learning a new lanuage doesn't take away, it adds to your programming skill and keeps you sharp by teaching you to shift between the frames of mind that each language requires.

学习新的语言并不会带走,它会增加您的编程技巧,并通过教您在每种语言所需的思维框架之间转换来保持敏锐。

So go out there and learn Python. Your code will improve(TM).

所以去那里学习Python。您的代码将得到改进(TM)。

P.S.
1.You'll lose C++ (or any other language) skills, if you neglect their upkeep and maintainance. Thats entirely up to you.

附:如果你忽略了他们的维持和维护,你将失去C ++(或任何其他语言)技能。这完全取决于你。

2.Programmer (intelligent) laziness is a virtue.

程序员(智能)懒惰是一种美德。

#4


Many would argue that you would benefit from learning Python before C++.

许多人会争辩说,在C ++之前学习Python会受益。

  • The syntax hurdles are much, much lower;
  • 语法障碍要低得多;

  • Debugging is much more friendly
  • 调试更加友好

  • There are a plethora of libraries---batteries included, you know. It's easy to experiment with web scraping, XML, etc. in Python. Again, the barriers to entry in C++ are much higher.
  • 你知道,有很多图书馆 - 包括电池。在Python中尝试Web抓取,XML等很容易。同样,C ++中的进入壁垒要高得多。

It's still good to learn C/C++, because of its close connection to the machine. But a new programmer can learn an awful lot from exploring in Python.

学习C / C ++仍然很好,因为它与机器紧密相连。但是一个新的程序员可以从Python中学习很多东西。

#5


I don't think that "Python makes you lazy" (nice title, anyway!).
On the contrary, in programming as in life, knowing more than one language is important; I think you'll find python amusing and sufficiently different from C++ or C# so that the languages will not get mixed in your head...

我不认为“Python会让你变得懒惰”(不管怎样,标题很棒!)。相反,在编程和生活中,了解一种以上的语言很重要;我认为你会发现python很有趣,并且与C ++或C#有很大的不同,所以这些语言不会混杂在你脑海里......

#6


Python is complementary to C++ and easy to integrate with C++. (As evidence of this claim, the C++ gurus from Boost use Python.)

Python是C ++的补充,易于与C ++集成。 (作为这一说法的证据,Boost的C ++大师使用Python。)

And as you said, Python gives you a way to get a perspective outside the Microsoft orbit. But even there, if you need to integrate Python with MS tools, there's IronPython.

正如您所说,Python为您提供了一种在Microsoft轨道之外获得视角的方法。但即便如此,如果你需要将Python与MS工具集成,那么还有IronPython。

#7


Learning more languages can only make you a better developer, regardless of their approach. Besides, your experience with C++ (or, at least C) will come in handy for writing high-performance parts of your applications using Python's C API, which lets "raw" C and C++ code intermingle nicely with the pure Python stuff.

学习更多语言只会让你成为更好的开发者,无论他们的方法如何。此外,您使用C ++(或者至少C)的经验将使用Python的C API编写应用程序的高性能部分,这使得“原始”C和C ++代码可以很好地与纯Python的东西混合在一起。

I still write code in Objective-C (1.0... before memory management) and Python on a daily basis. The variety is actually fun, rather than confusing; keeps things from being boring.

我仍然每天在Objective-C(1.0 ......内存管理之前)和Python中编写代码。这种变化实际上很有趣,而不是令人困惑;让事情变得无聊。

#8


Flex your brain and improve your skill set. Give a functional language a whirl.

弯曲你的大脑,提高你的技能。给函数式语言一个旋转。

#9


I learned C/C++, Java, Python & C# in that order.

我按顺序学习了C / C ++,Java,Python和C#。

The two I actually invariably end up using are C++ & Python; I find the niche Java & C# occupy between them to be too narrow to feel the need to use them much (at least for the stuff I do).

我实际上最终使用的两个是C ++和Python;我发现Java&C#占据它们之间的空间太小而不能使用它们(至少对我所做的事情而言)。

I also think I didn't really "get" C++ functors and boost::bind until I'd been exposed to Python.

我还认为我没有真正“获得”C ++ functor和boost :: bind,直到我接触到Python。

#10


Many languages are quite similar to others, but to move between imperitave and functional / dynamic and static / Object and Procedural languages you do need to train yourself to think within the constraints of the language you are using. Since most projects are at least a few weeks, this is generally not a problem after the first few days.

许多语言与其他语言非常相似,但要在不兼容和功能/动态以及静态/对象和过程语言之间移动,您需要训练自己在您正在使用的语言的约束内进行思考。由于大多数项目至少持续几周,因此在开始的几天之后通常不会出现问题。

You will find it more difficult to switch away from a language+environment you enjoy in your after-hours / hobby development.

您会发现更难以从您在下班后/爱好发展中享受的语言+环境中切换出来。

  • C, Macro Assembler => basically the same - difference is mainly libraries
  • C,Macro Assembler =>基本相同 - 差异主要是库

  • C++, Java, C#, Delphi => basically the same paradigm - you learn quickly how to leverage the features of the specific language and adopt concepts from one syntax to another. It's basically the same way of thinking, the biggest exception is how you think of memory manangement.

    C ++,Java,C#,Delphi =>基本相同的范例 - 您可以快速学习如何利用特定语言的功能并采用从一种语法到另一种语法的概念。它的思维方式基本相同,最大的例外是你如何看待记忆管理。

  • Python - good language, strategically a better choice than ruby, although there are other aspects of ruby that can be argued to be superior. What make python a good choice is the presence of a formal language body which keeps python environments on different platforms very compatible to one another.

    Python - 优秀的语言,战略上比ruby更好的选择,尽管ruby的其他方面可以被认为是优越的。使python成为一个好选择的原因是存在一个正式的语言体,它使不同平台上的python环境彼此非常兼容。

If you are interested, read this http://cmdematos.com/?p=120 on making a strategic language choice.

如果您有兴趣,请阅读http://cmdematos.com/?p=120进行战略语言选择。

#11


It is up to what exactly is the kind of applications you want to program, for example for Websites that need access to databases I would go for Ruby( and Ruby on Rails framework ) , for financial applications or applications that need a lot of parallel processing I would go for a funcional programming language like Haskell, oCaml or the new F#, these last 3 wil make you a better programer even if you don't programm a lot in them , by the way c# has been lately in the latest versions adding more and more funcional programming features. I would learn Python for a security and exploits kinds of applications.

这取决于您想要编写的应用程序的类型,例如,对于需要访问数据库的网站,我需要访问Ruby(和Ruby on Rails框架),适用于需要大量并行处理的财务应用程序或应用程序我会选择像Haskell,oCaml或新的F#这样的函数式编程语言,这些最后3个版本会让你成为一个更好的程序员,即使你没有编程很多,顺便说一句c#最近在最新版本中加入越来越多的功能编程功能。我会学习Python以获得安全性并利用各种应用程序。

#12


You could learn a new programming language, like python, and use it to do all the tasks you'd normally perform in your 'core' languages; or you could take a language (like python, or perl) and use it to complement your core language.

你可以学习一种新的编程语言,比如python,并用它来完成你在'核心'语言中通常执行的所有任务;或者您可以使用一种语言(如python或perl)并使用它来补充您的核心语言。

You could learn VBScript and use it to write scripts that glue your code and others together. If you want something less Microsoft, then python, perl or bash scripting would be a good idea - not just to learn how to code in the new, but also how to do things differently from the usual 'code an app' way.

您可以学习VBScript并使用它来编写将代码和其他代码粘合在一起的脚本。如果你想要的东西少于微软,那么python,perl或bash脚本将是一个好主意 - 不仅要学习如何在新的代码中进行编码,还要考虑如何以与通常的“代码应用程序”方式不同的方式做事。

#13


From a utility perspective, it is good to learn one of the more dynamic languages like Python (or Ruby or Perl) too. Not only do they stretch your mind, but they are superior for certain kinds of tasks. If you want to manipulate text, for example, C++ is a lot harder to use than Python. It gives you another arrow in your quiver to use when appropriate.

从实用程序的角度来看,学习Python(或Ruby或Perl)等更具动态性的语言也是一件好事。他们不仅可以伸展你的思想,而且对于某些类型的任务来说也是优越的。例如,如果你想操纵文本,C ++比Python要难得多。它会在你的箭袋中为你提供另一个箭头,以便在适当时使用。

#14


I learned, in order:

我按顺序学到了:

  • BASIC
  • Pascal
  • Ada
  • (A little bit of Haskell)
  • (一点点Haskell)

  • Java
  • Python
  • C++
  • C#

I don't feel Python inhibited my ability to learn or use C++. I am glad though that I learned pointers in Pascal before encountering reference types in Java, Python and C#, because I feel it gave me a good basis to understand the idea of the differences between "value types" and "reference types". I think for me the most important of those languages are Python, Haskell and C++. All of them complement each other, and although there are times I'm working in one and wish I had a feature from another, on the whole I think I benefit greatly from a deeper understanding of things like type systems, object orientation and metaprogramming by seeing the different ways these languages approach these things.

我不认为Python会抑制我学习或使用C ++的能力。我很高兴虽然在遇到Java,Python和C#中的引用类型之前我在Pascal中学习了指针,因为我觉得它为理解“值类型”和“引用类型”之间差异的想法提供了一个很好的基础。我认为对我来说最重要的语言是Python,Haskell和C ++。所有这些都相互补充,虽然有时候我在一个工作,并希望我有另一个功能,但总的来说,我认为通过对类型系统,面向对象和元编程等方面的深入理解,我将从中受益匪浅。看到这些语言接近这些东西的不同方式。

#15


Try LISP instead (or afterwards, it's your call). You are at least partially right, though. using Python for a while makes you not want to go back to a statically typed and compiled language. It's just sooo much more comfortable not to have to please the compiler like ALL THE TIME ;). And yet another aspect is the readability of python code, which is awesome.

尝试LISP(或之后,这是你的电话)。不过,你至少是部分正确的。使用Python一段时间后,你不想回到静态类型和编译语言。不要像所有时间一样取悦编译器,这样会更舒服;)。而另一个方面是python代码的可读性,这是很棒的。

#16


It is true. After learning python, everything else will seem like too much effort for the same amount of real work being done. You'll get used to the clean, small syntax and the freedom of GC. You will enjoy working in list comps, generators, etc. You'll start to think in python and C++ and Java will be like building a ship in a bottle one twiggy little stick at a time.

是真的。在学习python之后,其他所有内容对于完成相同数量的实际工作似乎都需要付出太多努力。你会习惯干净,小巧的语法和GC的*。你会喜欢在列表组合,生成器等方面工作。你会开始考虑使用python和C ++,而Java就像在一个瓶子里装一个笨重的小棍子一样。

But since it's that much easier, doesn't it tempt you to try it all the more?

但是因为它更容易,它不会诱使你再尝试一下吗?

#17


I think it is always good to know several programming languages. I've learned c++ at school and I've used it a lot in the past years because it is really a standard in the industry. I've learned python by my own and I am using it to make a lot of nice tools that would be too long to write in c++. Python has just a very positive influence on my c++ skills. It gives another way to think.

我认为了解几种编程语言总是好的。我在学校学过c ++,过去几年我经常使用它,因为它确实是行业的标准。我自己学习了python,并且使用它来制作很多很好的工具,这些工具在c ++中写得太久了。 Python对我的c ++技能有非常积极的影响。它提供了另一种思考方式。

#1


There's no right or wrong answer, really. But I think you'll benefit more from learning Python. Given the similarities between C# and C++, you'll learn a different way of thinking from Python. The more ways you learn to think about a problem, the better it makes you as a programmer, regardless of the language.

真的,没有正确或错误的答案。但我认为从学习Python中获益更多。鉴于C#和C ++之间的相似之处,您将从Python中学习不同的思维方式。学习思考问题的方式越多,无论语言如何,它都会使您成为程序员。

#2


The benefit of going from a more static language to a dynamic language is to change your programming paradigm -- it's not a matter of becoming "lazy" so much as realizing new ways of accomplishing things, which will make you better in any language.

从更静态的语言转变为动态语言的好处是改变你的编程范式 - 这不是变得“懒惰”的问题,而是实现新的完成事物的方式,这将使你在任何语言中变得更好。

#3


Well, I've learnt Python after C/C++, Java and C#. Python is a great language, and its simplicity and consistency have improved the way I code. It has also helped me think more clearly about the algorithms underlying my code. I could go on about the benifits it brought me, instead I'll summarize the reason to learn it ->

好吧,我在C / C ++,Java和C#之后学习了Python。 Python是一种很棒的语言,它的简单性和一致性改进了我的编码方式。它还帮助我更清楚地思考我的代码所依据的算法。我可以继续谈论它给我带来的好处,而不是总结学习它的理由 - >

Learning a new lanuage doesn't take away, it adds to your programming skill and keeps you sharp by teaching you to shift between the frames of mind that each language requires.

学习新的语言并不会带走,它会增加您的编程技巧,并通过教您在每种语言所需的思维框架之间转换来保持敏锐。

So go out there and learn Python. Your code will improve(TM).

所以去那里学习Python。您的代码将得到改进(TM)。

P.S.
1.You'll lose C++ (or any other language) skills, if you neglect their upkeep and maintainance. Thats entirely up to you.

附:如果你忽略了他们的维持和维护,你将失去C ++(或任何其他语言)技能。这完全取决于你。

2.Programmer (intelligent) laziness is a virtue.

程序员(智能)懒惰是一种美德。

#4


Many would argue that you would benefit from learning Python before C++.

许多人会争辩说,在C ++之前学习Python会受益。

  • The syntax hurdles are much, much lower;
  • 语法障碍要低得多;

  • Debugging is much more friendly
  • 调试更加友好

  • There are a plethora of libraries---batteries included, you know. It's easy to experiment with web scraping, XML, etc. in Python. Again, the barriers to entry in C++ are much higher.
  • 你知道,有很多图书馆 - 包括电池。在Python中尝试Web抓取,XML等很容易。同样,C ++中的进入壁垒要高得多。

It's still good to learn C/C++, because of its close connection to the machine. But a new programmer can learn an awful lot from exploring in Python.

学习C / C ++仍然很好,因为它与机器紧密相连。但是一个新的程序员可以从Python中学习很多东西。

#5


I don't think that "Python makes you lazy" (nice title, anyway!).
On the contrary, in programming as in life, knowing more than one language is important; I think you'll find python amusing and sufficiently different from C++ or C# so that the languages will not get mixed in your head...

我不认为“Python会让你变得懒惰”(不管怎样,标题很棒!)。相反,在编程和生活中,了解一种以上的语言很重要;我认为你会发现python很有趣,并且与C ++或C#有很大的不同,所以这些语言不会混杂在你脑海里......

#6


Python is complementary to C++ and easy to integrate with C++. (As evidence of this claim, the C++ gurus from Boost use Python.)

Python是C ++的补充,易于与C ++集成。 (作为这一说法的证据,Boost的C ++大师使用Python。)

And as you said, Python gives you a way to get a perspective outside the Microsoft orbit. But even there, if you need to integrate Python with MS tools, there's IronPython.

正如您所说,Python为您提供了一种在Microsoft轨道之外获得视角的方法。但即便如此,如果你需要将Python与MS工具集成,那么还有IronPython。

#7


Learning more languages can only make you a better developer, regardless of their approach. Besides, your experience with C++ (or, at least C) will come in handy for writing high-performance parts of your applications using Python's C API, which lets "raw" C and C++ code intermingle nicely with the pure Python stuff.

学习更多语言只会让你成为更好的开发者,无论他们的方法如何。此外,您使用C ++(或者至少C)的经验将使用Python的C API编写应用程序的高性能部分,这使得“原始”C和C ++代码可以很好地与纯Python的东西混合在一起。

I still write code in Objective-C (1.0... before memory management) and Python on a daily basis. The variety is actually fun, rather than confusing; keeps things from being boring.

我仍然每天在Objective-C(1.0 ......内存管理之前)和Python中编写代码。这种变化实际上很有趣,而不是令人困惑;让事情变得无聊。

#8


Flex your brain and improve your skill set. Give a functional language a whirl.

弯曲你的大脑,提高你的技能。给函数式语言一个旋转。

#9


I learned C/C++, Java, Python & C# in that order.

我按顺序学习了C / C ++,Java,Python和C#。

The two I actually invariably end up using are C++ & Python; I find the niche Java & C# occupy between them to be too narrow to feel the need to use them much (at least for the stuff I do).

我实际上最终使用的两个是C ++和Python;我发现Java&C#占据它们之间的空间太小而不能使用它们(至少对我所做的事情而言)。

I also think I didn't really "get" C++ functors and boost::bind until I'd been exposed to Python.

我还认为我没有真正“获得”C ++ functor和boost :: bind,直到我接触到Python。

#10


Many languages are quite similar to others, but to move between imperitave and functional / dynamic and static / Object and Procedural languages you do need to train yourself to think within the constraints of the language you are using. Since most projects are at least a few weeks, this is generally not a problem after the first few days.

许多语言与其他语言非常相似,但要在不兼容和功能/动态以及静态/对象和过程语言之间移动,您需要训练自己在您正在使用的语言的约束内进行思考。由于大多数项目至少持续几周,因此在开始的几天之后通常不会出现问题。

You will find it more difficult to switch away from a language+environment you enjoy in your after-hours / hobby development.

您会发现更难以从您在下班后/爱好发展中享受的语言+环境中切换出来。

  • C, Macro Assembler => basically the same - difference is mainly libraries
  • C,Macro Assembler =>基本相同 - 差异主要是库

  • C++, Java, C#, Delphi => basically the same paradigm - you learn quickly how to leverage the features of the specific language and adopt concepts from one syntax to another. It's basically the same way of thinking, the biggest exception is how you think of memory manangement.

    C ++,Java,C#,Delphi =>基本相同的范例 - 您可以快速学习如何利用特定语言的功能并采用从一种语法到另一种语法的概念。它的思维方式基本相同,最大的例外是你如何看待记忆管理。

  • Python - good language, strategically a better choice than ruby, although there are other aspects of ruby that can be argued to be superior. What make python a good choice is the presence of a formal language body which keeps python environments on different platforms very compatible to one another.

    Python - 优秀的语言,战略上比ruby更好的选择,尽管ruby的其他方面可以被认为是优越的。使python成为一个好选择的原因是存在一个正式的语言体,它使不同平台上的python环境彼此非常兼容。

If you are interested, read this http://cmdematos.com/?p=120 on making a strategic language choice.

如果您有兴趣,请阅读http://cmdematos.com/?p=120进行战略语言选择。

#11


It is up to what exactly is the kind of applications you want to program, for example for Websites that need access to databases I would go for Ruby( and Ruby on Rails framework ) , for financial applications or applications that need a lot of parallel processing I would go for a funcional programming language like Haskell, oCaml or the new F#, these last 3 wil make you a better programer even if you don't programm a lot in them , by the way c# has been lately in the latest versions adding more and more funcional programming features. I would learn Python for a security and exploits kinds of applications.

这取决于您想要编写的应用程序的类型,例如,对于需要访问数据库的网站,我需要访问Ruby(和Ruby on Rails框架),适用于需要大量并行处理的财务应用程序或应用程序我会选择像Haskell,oCaml或新的F#这样的函数式编程语言,这些最后3个版本会让你成为一个更好的程序员,即使你没有编程很多,顺便说一句c#最近在最新版本中加入越来越多的功能编程功能。我会学习Python以获得安全性并利用各种应用程序。

#12


You could learn a new programming language, like python, and use it to do all the tasks you'd normally perform in your 'core' languages; or you could take a language (like python, or perl) and use it to complement your core language.

你可以学习一种新的编程语言,比如python,并用它来完成你在'核心'语言中通常执行的所有任务;或者您可以使用一种语言(如python或perl)并使用它来补充您的核心语言。

You could learn VBScript and use it to write scripts that glue your code and others together. If you want something less Microsoft, then python, perl or bash scripting would be a good idea - not just to learn how to code in the new, but also how to do things differently from the usual 'code an app' way.

您可以学习VBScript并使用它来编写将代码和其他代码粘合在一起的脚本。如果你想要的东西少于微软,那么python,perl或bash脚本将是一个好主意 - 不仅要学习如何在新的代码中进行编码,还要考虑如何以与通常的“代码应用程序”方式不同的方式做事。

#13


From a utility perspective, it is good to learn one of the more dynamic languages like Python (or Ruby or Perl) too. Not only do they stretch your mind, but they are superior for certain kinds of tasks. If you want to manipulate text, for example, C++ is a lot harder to use than Python. It gives you another arrow in your quiver to use when appropriate.

从实用程序的角度来看,学习Python(或Ruby或Perl)等更具动态性的语言也是一件好事。他们不仅可以伸展你的思想,而且对于某些类型的任务来说也是优越的。例如,如果你想操纵文本,C ++比Python要难得多。它会在你的箭袋中为你提供另一个箭头,以便在适当时使用。

#14


I learned, in order:

我按顺序学到了:

  • BASIC
  • Pascal
  • Ada
  • (A little bit of Haskell)
  • (一点点Haskell)

  • Java
  • Python
  • C++
  • C#

I don't feel Python inhibited my ability to learn or use C++. I am glad though that I learned pointers in Pascal before encountering reference types in Java, Python and C#, because I feel it gave me a good basis to understand the idea of the differences between "value types" and "reference types". I think for me the most important of those languages are Python, Haskell and C++. All of them complement each other, and although there are times I'm working in one and wish I had a feature from another, on the whole I think I benefit greatly from a deeper understanding of things like type systems, object orientation and metaprogramming by seeing the different ways these languages approach these things.

我不认为Python会抑制我学习或使用C ++的能力。我很高兴虽然在遇到Java,Python和C#中的引用类型之前我在Pascal中学习了指针,因为我觉得它为理解“值类型”和“引用类型”之间差异的想法提供了一个很好的基础。我认为对我来说最重要的语言是Python,Haskell和C ++。所有这些都相互补充,虽然有时候我在一个工作,并希望我有另一个功能,但总的来说,我认为通过对类型系统,面向对象和元编程等方面的深入理解,我将从中受益匪浅。看到这些语言接近这些东西的不同方式。

#15


Try LISP instead (or afterwards, it's your call). You are at least partially right, though. using Python for a while makes you not want to go back to a statically typed and compiled language. It's just sooo much more comfortable not to have to please the compiler like ALL THE TIME ;). And yet another aspect is the readability of python code, which is awesome.

尝试LISP(或之后,这是你的电话)。不过,你至少是部分正确的。使用Python一段时间后,你不想回到静态类型和编译语言。不要像所有时间一样取悦编译器,这样会更舒服;)。而另一个方面是python代码的可读性,这是很棒的。

#16


It is true. After learning python, everything else will seem like too much effort for the same amount of real work being done. You'll get used to the clean, small syntax and the freedom of GC. You will enjoy working in list comps, generators, etc. You'll start to think in python and C++ and Java will be like building a ship in a bottle one twiggy little stick at a time.

是真的。在学习python之后,其他所有内容对于完成相同数量的实际工作似乎都需要付出太多努力。你会习惯干净,小巧的语法和GC的*。你会喜欢在列表组合,生成器等方面工作。你会开始考虑使用python和C ++,而Java就像在一个瓶子里装一个笨重的小棍子一样。

But since it's that much easier, doesn't it tempt you to try it all the more?

但是因为它更容易,它不会诱使你再尝试一下吗?

#17


I think it is always good to know several programming languages. I've learned c++ at school and I've used it a lot in the past years because it is really a standard in the industry. I've learned python by my own and I am using it to make a lot of nice tools that would be too long to write in c++. Python has just a very positive influence on my c++ skills. It gives another way to think.

我认为了解几种编程语言总是好的。我在学校学过c ++,过去几年我经常使用它,因为它确实是行业的标准。我自己学习了python,并且使用它来制作很多很好的工具,这些工具在c ++中写得太久了。 Python对我的c ++技能有非常积极的影响。它提供了另一种思考方式。