Redian新闻
>
免费送最高$250 Amazon GC 任意消费一笔SPG 信用卡
avatar
免费送最高$250 Amazon GC 任意消费一笔SPG 信用卡# ChemEng - 化学工程
t*y
1
我觉得这个主意不好。
avatar
l*1
2
实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
提到的java的东西说的一无是处。
可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
也力不从心。
现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
否有道理,或者看看如何来辩驳。非常感谢。
Hey folks,
Point by point, I guess,
The only thing the tiobe shootout shows is that there are more search result
s for Java than there are for other languages. This is mostly about prolifer
ation of usage as the language of choice in the late 90s and early 2000s tha
n anything else. Java is most definitely not a current-generation language.
Python is used in production for heavy servers in any number of places. The
biggest one that comes to mind is reddit.com, which served 2 billion page vi
ews in December. This is a fairly dynamic app, not just static pages, and it
's probably safe to say they receive much more traffic than you will. Python
is holding up admirably in a hostile production environment, it's not just
a toy scripting language. As far as teaching, both MIT's and Berkeley's intr
o to computer science courses are taught in python.
I will admit that Java's virtual machine is very fast, faster even than C++
on bare metal in some cases. That has no reflection on the language or the e
cosystem surrounding it. The Java language is fairly 'bad' by modern standar
ds with regards to good practices. One of the primary benefits of java is th
e huge mass of available libraries. This benefit is largely neutralized when
you realize that the vast majority of these libraries are no longer being a
ctively maintained. That said, if you want to take advantage of the jvm's sp
eed or the any of the java libraries, you can always write python and execut
e it in Jython and get the best of both worlds.
I'm not sure it's even worth addressing these next few, except to say that l
anguage choice is definitely context-dependent. Both are general purpose lan
guages capable of handling most tasks fairly well. Professionally, I would s
ay that python has a lot more going for it in the typical web application, a
nd you would be hard-pressed to find a silicon valley company who would cons
ider java as their first choice. Additionally, "enterprise" has become somet
hing of a bad word in the valley. It's seen as something of a crutch for med
iocre programmers who need best practices dictated to them.
Comments on the table provided:
IDEs are less of a necessity these days in writing good software, but you ca
n always get one if you need one. The modern breed of text editors are essen
tially light-weight IDEs: SublimeText is exceptional. For a more traditional
IDE, you can get Wing. And despite being the most popular, Eclipse is also
considered one of the worst by virtue of being large and slow.
Python has superior debugging tools. Not only do you get the traditional ste
pping of a la gdb, you also have powerful command line interactions and runt
ime introspection. The python logger is also excellent and integrates with u
nix's syslog.
Deployment of python applications is much easier than java. Virtualenv and p
ip have essentially eliminated the tedious process of normalizing a machine
for deployment. Java has maven, but it's difficult to manage and requires si
gnificant extra infrastructure to execute correctly. Hosting a tomcat enviro
nment and wiring it up to apache correctly is tedious at best.
Hibernate is garbage. Period, the end. Even the oldest version of SQLAlchemy
is a better ORM and database management library than Hibernate.
MVC is no longer the prevailing paradigm in webapp design. The distinction b
etween V and C in a webapp has never made much sense going by the traditiona
l definition. Modern frameworks adopt a more pragmatic M-V design which is l
ighter weight. That said, the statement about python is simply wrong. Python
frameworks implemented MVC long before Java frameworks caught on.
Not only does python have PyDoc, which is the equivalent of JavaDoc, it is b
etter executed, and python projects are among the best-documented overall. T
his includes both the python core and third-party projects: http://readthedo
cs.org/. Most python projects of note have documentation hosted here.
avatar
d*e
3
By Alan Levin, USA TODAY
Many of the busiest airports in the Caribbean and Latin America lack basic
safety features that could have prevented the recent crash of an American
Airlines jet in Jamaica, according to pilots, aviation safety experts and
public documents.
No one died when the American Boeing 737-800 slid off a wet runway and
slammed onto an adjacent rocky beach on Dec. 22, but dozens were hurt and
the jet's fuselage was torn open in several places. It was the most serious
accident invo
avatar
s*i
4
Starwood Preferred Guest信用卡 开卡25000 bonus points 最高可入住12晚酒店
http://goo.gl/2exU8
Earn 10,000 Starpoints with your first purchase and an additional 15,000
Starpoints when you spend $5,000 in 6 months 可以直接兑换250刀amazon gift
card
http://goo.gl/2exU8
填完后会在60秒告诉你结果,这个卡是第一年免年费的,之后是$65, 可以在第二年关
闭避免被收取年费。即使第二年开始有年费,个人觉得还是一张值得长期使用的信用卡
。 消费一笔后两周内会把10000 point在你卡上,不会使用的人可以兑换$100
giftcard. 选择其他的 giftcard(Starbucks, Gap,Nordstrom)请选择Redeem in other
partners。请注意这一万点就可以换到最高5晚的category 1的酒店入住了。
下面的是非常关键的内容:
请大家尽快不要把点数兑换以上的250刀 amazon gift card,因为可以直接使用获得的
点数入住SPG酒店,Category 1: 以aloft为例,可以直接用2000points/晚 入住周末
房,或者以1200 points+25刀 在任意天入住。 Category 2: 以Four Points by
Sheraton为例,可以使用3000points/晚 入住周末房, 或者以1600 points +30刀在任
意天入住。
即使是消费第一笔后获得的10000points,也可以获得最高五晚的酒店入住。而且这类
酒店在中国区也是有效的。如果消费满5000刀,更可以获得另外的最高七晚的酒店入住。
avatar
h*i
5
丫嚷嚷好多天了,连脚都不肯奔

【在 t********y 的大作中提到】
: 我觉得这个主意不好。
avatar
g*g
6
Well, java is not current generation language, but Python is even
older than java. Both java and python are capable language, and
current skillset in the team is the most important criteria to
choose a language.
After that, I'll look at the project requirement.
Python will be faster for prototype, but it's dynamic language advantage
quickly goes down once you need quality and complexity. On the other hand,
Python will never match the performance and scalability on java side, that's
why it remains the top pick for large scale enterprise apps. ebay has over
1 billion transactions a day. That's definitely more than any known python
site.

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
t*y
7
我怀疑肉帘没有亏太多,甚至小赚

【在 h***i 的大作中提到】
: 丫嚷嚷好多天了,连脚都不肯奔
avatar
b*i
8
实验室能做出什么高级网站出来,python当然够了。用java当然也不错,如果熟练。关
键是原来是python写的吗?
如果是创业公司,讨论一番倒是有意义。不过,这两样倒是都远好于.net

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
b*n
9
放你妈屁

【在 t********y 的大作中提到】
: 我怀疑肉帘没有亏太多,甚至小赚
avatar
B*g
10
去.net贴你会被骂死的,嘿嘿

个美
我们
反驳
的是

【在 b***i 的大作中提到】
: 实验室能做出什么高级网站出来,python当然够了。用java当然也不错,如果熟练。关
: 键是原来是python写的吗?
: 如果是创业公司,讨论一番倒是有意义。不过,这两样倒是都远好于.net
:
: result

avatar
t*y
11
会藏富,很好。

【在 b*********n 的大作中提到】
: 放你妈屁
avatar
w*z
12
It's you want fast development, try php
avatar
S*w
13
淡定
avatar
p*t
14
什么样的网站啊,多大的数据库啊?是鸡,就用菜刀。是牛,就用宰牛刀。

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
l*1
15
实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
提到的java的东西说的一无是处。
可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
也力不从心。
现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
否有道理,或者看看如何来辩驳。非常感谢。
Hey folks,
Point by point, I guess,
The only thing the tiobe shootout shows is that there are more search result
s for Java than there are for other languages. This is mostly about prolifer
ation of usage as the language of choice in the late 90s and early 2000s tha
n anything else. Java is most definitely not a current-generation language.
Python is used in production for heavy servers in any number of places. The
biggest one that comes to mind is reddit.com, which served 2 billion page vi
ews in December. This is a fairly dynamic app, not just static pages, and it
's probably safe to say they receive much more traffic than you will. Python
is holding up admirably in a hostile production environment, it's not just
a toy scripting language. As far as teaching, both MIT's and Berkeley's intr
o to computer science courses are taught in python.
I will admit that Java's virtual machine is very fast, faster even than C++
on bare metal in some cases. That has no reflection on the language or the e
cosystem surrounding it. The Java language is fairly 'bad' by modern standar
ds with regards to good practices. One of the primary benefits of java is th
e huge mass of available libraries. This benefit is largely neutralized when
you realize that the vast majority of these libraries are no longer being a
ctively maintained. That said, if you want to take advantage of the jvm's sp
eed or the any of the java libraries, you can always write python and execut
e it in Jython and get the best of both worlds.
I'm not sure it's even worth addressing these next few, except to say that l
anguage choice is definitely context-dependent. Both are general purpose lan
guages capable of handling most tasks fairly well. Professionally, I would s
ay that python has a lot more going for it in the typical web application, a
nd you would be hard-pressed to find a silicon valley company who would cons
ider java as their first choice. Additionally, "enterprise" has become somet
hing of a bad word in the valley. It's seen as something of a crutch for med
iocre programmers who need best practices dictated to them.
Comments on the table provided:
IDEs are less of a necessity these days in writing good software, but you ca
n always get one if you need one. The modern breed of text editors are essen
tially light-weight IDEs: SublimeText is exceptional. For a more traditional
IDE, you can get Wing. And despite being the most popular, Eclipse is also
considered one of the worst by virtue of being large and slow.
Python has superior debugging tools. Not only do you get the traditional ste
pping of a la gdb, you also have powerful command line interactions and runt
ime introspection. The python logger is also excellent and integrates with u
nix's syslog.
Deployment of python applications is much easier than java. Virtualenv and p
ip have essentially eliminated the tedious process of normalizing a machine
for deployment. Java has maven, but it's difficult to manage and requires si
gnificant extra infrastructure to execute correctly. Hosting a tomcat enviro
nment and wiring it up to apache correctly is tedious at best.
Hibernate is garbage. Period, the end. Even the oldest version of SQLAlchemy
is a better ORM and database management library than Hibernate.
MVC is no longer the prevailing paradigm in webapp design. The distinction b
etween V and C in a webapp has never made much sense going by the traditiona
l definition. Modern frameworks adopt a more pragmatic M-V design which is l
ighter weight. That said, the statement about python is simply wrong. Python
frameworks implemented MVC long before Java frameworks caught on.
Not only does python have PyDoc, which is the equivalent of JavaDoc, it is b
etter executed, and python projects are among the best-documented overall. T
his includes both the python core and third-party projects: http://readthedo
cs.org/. Most python projects of note have documentation hosted here.
avatar
g*g
16
Well, java is not current generation language, but Python is even
older than java. Both java and python are capable language, and
current skillset in the team is the most important criteria to
choose a language.
After that, I'll look at the project requirement.
Python will be faster for prototype, but it's dynamic language advantage
quickly goes down once you need quality and complexity. On the other hand,
Python will never match the performance and scalability on java side, that's
why it remains the top pick for large scale enterprise apps. ebay has over
1 billion transactions a day. That's definitely more than any known python
site.

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
b*i
17
实验室能做出什么高级网站出来,python当然够了。用java当然也不错,如果熟练。关
键是原来是python写的吗?
如果是创业公司,讨论一番倒是有意义。不过,这两样倒是都远好于.net

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
B*g
18
去.net贴你会被骂死的,嘿嘿

个美
我们
反驳
的是

【在 b***i 的大作中提到】
: 实验室能做出什么高级网站出来,python当然够了。用java当然也不错,如果熟练。关
: 键是原来是python写的吗?
: 如果是创业公司,讨论一番倒是有意义。不过,这两样倒是都远好于.net
:
: result

avatar
w*z
19
It's you want fast development, try php
avatar
p*t
20
什么样的网站啊,多大的数据库啊?是鸡,就用菜刀。是牛,就用宰牛刀。

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
J*n
21
原来ebay是用的java啊,这下有牛逼例子了
avatar
b*y
22

I think they used to be a microsoft shop, but migrated their codebase to
java later.

【在 J*******n 的大作中提到】
: 原来ebay是用的java啊,这下有牛逼例子了
avatar
k*r
23
Using reddit.com as an example is pretty bad. It may have high traffic, but
the business logic is not much harder than 'Hello World!'.

result

【在 l********1 的大作中提到】
: 实验室最近有个Java和Python之争,几个中国人想使用Java重写一个网站,但是一个美
: 国人不愿意,他只懂Python,而且他搬了救兵,据说是硅谷的高手,发的邮件里把我们
: 提到的java的东西说的一无是处。
: 可能他说的也有道理,但是任何东西都可以说出优势和劣势。而我们的表达不行,反驳
: 也力不从心。
: 现把那个硅谷高手的邮件贴出来,纯属技术探讨。请大家出谋划策,或者看看他说的是
: 否有道理,或者看看如何来辩驳。非常感谢。
: Hey folks,
: Point by point, I guess,
: The only thing the tiobe shootout shows is that there are more search result

avatar
g*g
24
No, they started with Perl, changed to C++ in no time, and settled on
Java after they got scalability issues.
http://highscalability.com/ebay-history-and-architecture

【在 b******y 的大作中提到】
:
: I think they used to be a microsoft shop, but migrated their codebase to
: java later.

avatar
P*l
25
Use jython.
★ Sent from iPhone App: iReader Mitbbs Lite 7.51
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。