分页: 1 / 2
#1 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 3月 31日 22:43
由 forecasting
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
#2 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 3月 31日 23:19
由 hci
矩阵喜欢
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
#3 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 07:12
由 forecasting
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
@TheMatrix 请讲一下?
#4 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 11:03
由 verdelite
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
python最大的缺点:没有静态type
别的都是优点
#5 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 11:27
由 Caravel
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
简单啊,反面教材就是c++,一堆人为定义的rule,和美国保税一样
#6 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 11:31
由 MaLaRabbit
感觉Ruby好些
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
#7 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 13:10
由 wdong
好处就是生态丰富,做机器学习和AI基本上只能用Python。语法糖这种东西,跳出编译器的圈圈看,其实差别不重要。
#8 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 17:35
由 TheMatrix
list comprehension.
python简练。
我想不出python有什么坏处。不如你说说吧。
#9 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 20:41
由 huangchong
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
脑袋负担小,所写即所得,不用太多琢磨语法的坑。
#10 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 20:41
由 huangchong
verdelite 写了: 2025年 4月 1日 11:03
python最大的缺点:没有静态type
别的都是优点
cython
#11 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 21:10
由 libaliu
Python的矩阵非常简洁,其他语言需要双重循环的对各个元素操作的,Python一句搞定,比如 A[A>=threshold] = 1之类。
另外它的indexing很好玩,变幻无穷,有点考脑力。
#12 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 21:20
由 huangchong
libaliu 写了: 2025年 4月 1日 21:10
Python的矩阵非常简洁,其他语言需要双重循环的对各个元素操作的,Python一句搞定,比如 A[A>=threshold] = 1之类。
另外它的indexing很好玩,变幻无穷,有点考脑力。
这是numpy吧。确实如果没有numpy的话,python用处会小很多。
#13 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 21:24
由 huangchong
某种程度上可以把python看成更加完善的shell。库就是各种程序。
#14 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 21:35
由 gostdi
开发效率最高,加参方便, json,字典,对象转换灵活
唯一不好,只能单线程,真的并行得multiprocess,或者靠底层的库。本身不适合做高性能应用。
#15 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 21:56
由 wokao
forecasting 写了: 2025年 3月 31日 22:43
有谁喜欢Python,说说Python的好处?Python是我次痛恨的语言,除了能快速视线之外,一无是处
Julia, 除了小众, 其他都是优点
#16 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 22:07
由 Jasonzhang2025
YouTube spent several years migrating their python to c++. Why: no good multi thread support, unpredictable performance, unmaintainable code, less infrastructure library support, etc.
On the other hand, machine learning has a small code base. Even the large model has very small number lines of code. All needed is fast numeric computation which is written in c++. So all the requirements for server development don't matter much. The only requirement is easy to change for fast iteration.
#17 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 1日 23:28
由 ɓuoɥɔɓuɐnɥ
没人喜欢prolog?
#18 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 2日 00:02
由 hci
我喜欢datalog
用datalog取代现有的各种数据处理工具是我的梦想
#19 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 2日 00:39
由 webdriver
不喜欢python。。。习惯了自己擅长的语言
#20 Re: 有谁喜欢Python,说说Python的好处?
发表于 : 2025年 4月 2日 06:57
由 huangchong
wokao 写了: 2025年 4月 1日 21:56
Julia, 除了小众, 其他都是优点
Julia现在能离开repl用了吗?