由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 【SparkData 博客文章】 A Brief Summary of Advantages and Drawbacks of Python
相关主题
有没有办法取代SAS。julia有前途吗?
弱问个python的问题诚心求教,这样条件合适找什么样的工作?
想学一门语言做data manupilation - Perl还是Python?也谈为什麽要学习Python(对Python没兴趣的请跳过:-)
Decision Tree in Python or C++自学SAS, R,找什么类工作呢?
想系统学一门计算机语言,是学c呢,还是c++? 也谈为什麽要学习Python
是否需要顺便学点别的编程语言,比如C++ java啥的实在搞不懂Rcpp有啥好处
R 有点令人失望大家抱怨下R的问题吧
到底什么样的条件可以去硅谷大公司当Analyst啊Google Quantitative Analyst internship 求Host收留 (转载)
相关话题的讨论汇总
话题: python话题: code话题: sparkdata话题: drawbacks
进入Statistics版参与讨论
1 (共1页)
d******9
发帖数: 404
1
Python is the most popular programming language nowadays. Based on my own
experience, here is a list of advantages and limitations/drawbacks of Python:
Advantages:
1. Easy to learn: Simplicity makes the learning curve of Python is low.
Basically one can pick it up from a few days to a few weeks.
2. Versatile: Python code can be found almost everywhere, such as web
applications, desktop applications, data science, big data, spark, cloud,
etc.
3. Flexible: Flexible syntax makes its code easy to write.
4. Python is a hybrid of several programming language types. It supports
Object-oriented programming, Procedural programming, and Functional
programming.
5. Generator is a very useful feature.
6. Python has a comprehensive ecosystem, supporting community, extensive
libraries, and 3rd party modules.
Limitations or Drawbacks:
1. Some syntax brings inconvenience when writing code or even makes its code
error-prone. Example A: Python code uses indentation to define scope,
instead of brackets. Example B: If you want to call a function, the
definition of the function must be defined before the caller, otherwise the
function cannot be found.
2. Python is interpreted instead of compiled. You may modify code on-the-fly
, but the result may be not what you expected, as the old code is cached.
3. Python is not strongly typed language. Type is determined at run-time
only. Thus it is not type-safe before running.
4. As an interpreted programming language, Python’s performance is not as
good as compiled ones, such as C-family languages (C, C++, Java, C#, etc.).
Usually it is slower.
5. By design, there is no explicit pass-by-reference parameter. Although
there are some mechanisms to mimic pass-by-reference implicitly, for example
, use dictionary as a parameter. Such implicit pass-by-reference behavior
may confuse people. People need to be very clear what data type is pass-by-
value, and what data type is pass-by-reference.
6. If you want to write multi-threading code, probably Python is not a good
choice for it.
===================================
有空来坐坐,SparkData 欢迎您!
http://www.sparkdata.ca
入门介绍,行业科普
技术讨论,技能培训
职业规划,工作信息
====================================
1 (共1页)
进入Statistics版参与讨论
相关主题
2016年DS找工小贴士 系列之四 : 面试coding关想系统学一门计算机语言,是学c呢,还是c++?
请问sas的正版软件大概要多少钱?是否需要顺便学点别的编程语言,比如C++ java啥的
SAS MACRO和ProcedureR 有点令人失望
Re: SAS help : How to use Macro to select procedurs到底什么样的条件可以去硅谷大公司当Analyst啊
有没有办法取代SAS。julia有前途吗?
弱问个python的问题诚心求教,这样条件合适找什么样的工作?
想学一门语言做data manupilation - Perl还是Python?也谈为什麽要学习Python(对Python没兴趣的请跳过:-)
Decision Tree in Python or C++自学SAS, R,找什么类工作呢?
相关话题的讨论汇总
话题: python话题: code话题: sparkdata话题: drawbacks