Martin

Senior Member
Dec 31, 2000
56,913
So what's your verdict on Python, Martin?

More than just another CS grad student who builds another language as a pet project? :cool:
Is this a bait or what? Python predates Java (among others) and is in my mind the best balance of efficiency, expression and portability there is. Half of Google's infrastructure is written in Python.

:lol: I'll mention that.

On that topic and Martin's: here's an example of the unorthodox there. The backend for their chat codebase is written in Erlang. ;)
I think I heard that mentioned somewhere. It's not very surprising though, if you know what erlang is for.
 

Buy on AliExpress.com

swag

L'autista
Administrator
Sep 23, 2003
84,820
Is this a bait or what? Python predates Java (among others) and is in my mind the best balance of efficiency, expression and portability there is. Half of Google's infrastructure is written in Python.
Well, its sensitivity to indentation always raised eyebrows. And in a lot of implementations I've heard from various start-ups, the learning curve is pretty steep for a quasi-scripting language (well, in a chess-like way of proficiency).

I do like the readability emphasis, however.

(I confess to never having programmed in it.)

I think I heard that mentioned somewhere. It's not very surprising though, if you know what erlang is for.
That's one philosophical thing I like. I'm very much a right-tool-for-the-job type. Which is why I am always suspicious of the types who are religious zealots about things like Agile development, RoR, Java, etc. Great in their own sweet spots. But not everything you hit with a hammer is necessarily a nail -- that sort of thing.

FB seems wise to have open sourced Thrift to enable an environment that can leverage an integration of languages, IMO. At least for a company of their size, supporting multiple languages isn't necessarily whack.
 

Martin

Senior Member
Dec 31, 2000
56,913
Well, its sensitivity to indentation always raised eyebrows.
gtfo, this is such a non argument. Python's whitespace captures the style in which people write code and makes it into a standard. So instead of a "guideline" it's a rule. And libertarians types that have a problem with this need to stfu.

More seriously, this is a completely capricious complaint that's not relevant. If it were a totally funky whitespace mode that would be one thing but to lament the whitespace mode of every language with a c syntax? That's just petty.

And in a lot of implementations I've heard from various start-ups, the learning curve is pretty steep for a quasi-scripting language (well, in a chess-like way of proficiency).
You have to be kidding, Python has a steep learning curve? Ever heard of c++? There's like 3 people on the planet who are truly proficient with c++ and one of them is Bjarne.

I think Python is easier to learn than Ruby even if some things can be expressed more elegantly in the latter.

I do like the readability emphasis, however.
Yeah, that's the first thing I noticed when I was first exposed to it. I could actually read code all of a sudden, it wasn't a bunch of meaningless symbols.

(I confess to never having programmed in it.)
Next time preface with "in the interest of full disclosure" :p

Actually, what you wrote amounts to some pretty classic FUD. "Raises eyebrows", "I have heard". :)


That's one philosophical thing I like. I'm very much a right-tool-for-the-job type. Which is why I am always suspicious of the types who are religious zealots about things like Agile development, RoR, Java, etc. Great in their own sweet spots. But not everything you hit with a hammer is necessarily a nail -- that sort of thing.
Indeed. People need to be reminded that languages are not products in themselves, merely means of achieving a product.

FB seems wise to have open sourced Thrift to enable an environment that can leverage an integration of languages, IMO. At least for a company of their size, supporting multiple languages isn't necessarily whack.
I hear they cling to PHP like Heston to his rifle. It's understandable, PHP is fast. Horrible, but fast.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 429)