g****y 发帖数: 436 | 1 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考
虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com
mand line options的借口。
多谢了哈! |
D*******a 发帖数: 3688 | 2 python,至少可读些
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
z*****a 发帖数: 3809 | 3 I'd go with Python. It's easier to learn and easier to test and debug.
The code will also be much more readable and understandable to you a month
from now.
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
g****y 发帖数: 436 | 4 thanks!
【在 z*****a 的大作中提到】 : I'd go with Python. It's easier to learn and easier to test and debug. : The code will also be much more readable and understandable to you a month : from now. : : 要考 : com
|
g****y 发帖数: 436 | 5 thanks!
【在 D*******a 的大作中提到】 : python,至少可读些 : : 要考 : com
|
z****e 发帖数: 2024 | 6 我以前学过perl,拗口难读,每年都有读perl代码的大赛,后来不用,居然全忘了!可
见perl这个玩意害人。
我觉得,说句实话:
perl比C++难学多了! |
t****t 发帖数: 6806 | 7 actually i like perl very much...
【在 z****e 的大作中提到】 : 我以前学过perl,拗口难读,每年都有读perl代码的大赛,后来不用,居然全忘了!可 : 见perl这个玩意害人。 : 我觉得,说句实话: : perl比C++难学多了!
|
z****e 发帖数: 2024 | 8 推荐书吧。我估计是看错了书了。走上了邪路。
【在 t****t 的大作中提到】 : actually i like perl very much...
|
o*****8 发帖数: 192 | 9 python, real OO
and much more popular on web 2.0 field... |
s*********e 发帖数: 1051 | 10 you might find perl in most unix systems in the industry. but it is not the
case for python. |
|
|
O*******d 发帖数: 20343 | 11 Here is a perl poetry
#!/usr/bin/perl
APPEAL:
listen (please, please);
open yourself, wide;
join (you, me),
connect (us,together),
tell me.
do something if distressed;
@dawn, dance;
@evening, sing;
read (books,$poems,stories) until peaceful;
study if able;
write me if-you-please;
sort your feelings, reset goals, seek (friends, family, anyone);
do*not*die (like this)
if sin abounds;
keys (hidden), open (locks, doors), tell secrets;
do not, I-beg-you, close |
k*******d 发帖数: 1340 | 12 python是很适合用来集成C++的代码的,很多人这么做,用SWIG |
I**********s 发帖数: 441 | 13 我一直用Perl.
这个难读不难读跟怎么写有关系吧?
别人说我写的Perl很好读懂的. |
c*m 发帖数: 1114 | 14 看你要做啥,两个性能都不行,稳定性不好说。
做大量文本操作的话首推Perl.
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
i***1 发帖数: 95 | 15 Both Perl and Python are cool. I personally like perl better, maybe because
I know her first.
For perl, the excellent first book you need is the "Learning Perl". Another
good thing about perl is there is a CPAN website full of packages.
Python is useful too. I learned Python while being a TA for it...
It seems Python is more popular. Otherwise, why they have a class in school
with python but not perl. |
f*******y 发帖数: 988 | 16 glue功能显然是perl,说他是脚本之王当之无愧
python我一直觉得不能算脚本,应该算是正式语言
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
h***i 发帖数: 1970 | 17 应该是Python,Perl开发图形界面不行,Python有PyQt
【在 f*******y 的大作中提到】 : glue功能显然是perl,说他是脚本之王当之无愧 : python我一直觉得不能算脚本,应该算是正式语言 : : 要考 : com
|
r*******n 发帖数: 3020 | 18 Python is very suitable for 主要用来集成linux下面的C/C++程序
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
f*******y 发帖数: 988 | 19 脚本又不是拿来写GUI的
【在 h***i 的大作中提到】 : 应该是Python,Perl开发图形界面不行,Python有PyQt
|
x****u 发帖数: 44466 | 20 GUI就应该用脚本写。。。
【在 f*******y 的大作中提到】 : 脚本又不是拿来写GUI的
|
d*****u 发帖数: 17243 | 21 美国大学的编程课现在普遍换成python了
很快就会发现职场上以python为主
要考
com
【在 g****y 的大作中提到】 : 之前有bash的一点底子,现在想学perl,或者python,大家觉得哪个好一点? 我主要考 : 虑稳定性和速度。 学来主要用来集成linux下面的C/C++程序,所以要求能提供一些com : mand line options的借口。 : 多谢了哈!
|
N***m 发帖数: 4460 | 22 good to know this. focusing on java/python now.
【在 d*****u 的大作中提到】 : 美国大学的编程课现在普遍换成python了 : 很快就会发现职场上以python为主 : : 要考 : com
|