And one of the best features of Python: The community The Python community allied with the good programming habits (aka PEP 8) really does the difference.
I LOVE PEP8. There it is I said it. I love that I can look at Python code I wrote eight years ago and it looks like I wrote it yesterday (apart from the fact I've got better and working with python). Even better I can look at someone else's code and if they've bothered to follow PEP 8 I am straight in, understanding the code and not their formatting. It removed a cognitive load that in C++ just kills me. It's bloody…
Why We Choose Python
41–50 of 62 posts
Re: Why We Choose Python
#42I made it as far as ".... Python is the language of choice for serious developers" before I bailed. I love Python, but let's not make this a True Scotsman fallacy.
Thing is, Python is becoming rapidly the language of choice for scientists, statisticians, and other knowledge workers who only do a bit of development.
Re: Why We Choose Python
#43Also, the community practices for coding style are so strong in Python that I can open up nearly any piece of code on the internet and have no problems reading it no matter how junior or senior the person was who wrote it. This is a big win for maintainability and one of the main reasons why I prefer Python over Ruby or Perl.
Re: Why We Choose Python
#44I made it as far as ".... Python is the language of choice for serious developers" before I bailed. I love Python, but let's not make this a True Scotsman fallacy.
Thing is, Python is becoming rapidly the language of choice for scientists, statisticians, and other knowledge workers who only do a bit of development.
Re: Why We Choose Python
#45Earlier quoted context omitted.
I found the opposite. For example, I find it extraordinarily frustrating not to be able to know what kind of object something is by looking at the point in code where it is created; something like variable = somefunction(inputParameter) where variable did not exist before leaves me having to look up the documentation of somefunction to know what kind of object it is returning.
Hopefully, whoever defined somefunction did something like this: def somefunction(inputParameter): ''' inputParameter: List of seven positive integers representing a poker hand Returns: A positive integer used to score that hand relative to all other possible hands, better hands receive higher scores. '''
Re: Why We Choose Python
#46Earlier quoted context omitted.
I found the opposite. For example, I find it extraordinarily frustrating not to be able to know what kind of object something is by looking at the point in code where it is created; something like variable = somefunction(inputParameter) where variable did not exist before leaves me having to look up the documentation of somefunction to know what kind of object it is returning.
Hopefully, whoever defined somefunction did something like this: def somefunction(inputParameter): ''' inputParameter: List of seven positive integers representing a poker hand Returns: A positive integer used to score that hand relative to all other possible hands, better hands receive higher scores. '''
Re: Why We Choose Python
#47http://web.archive.org/web/20070202012909/http://www.amk.ca/...
http://www.rittau.org/python/warts
in fact I would love a warts wiki for frameworks, libraries and more. Python or not. Its important to have these debates out loud.
Re: Why We Choose Python
#48One business metric that is worth considering is the cost of putting together a Python team vs., say, PHP. Here "cost" doesn't mean salaries as much as it means "cost function" or "difficulty score". Get away from Silicon Valley's reality distortion field and I think Python, today, might still have some issues in this regard. I am not talking about finding one developer. I am talking about finding one, scaling to fiv…
Of course thats a bit harder now, I would look for a functional language on there these days.
Re: Why We Choose Python
#49I made it as far as ".... Python is the language of choice for serious developers" before I bailed. I love Python, but let's not make this a True Scotsman fallacy.
Thing is, Python is becoming rapidly the language of choice for scientists, statisticians, and other knowledge workers who only do a bit of development.
Re: Why We Choose Python
#50Earlier quoted context omitted.
Thing is, Python is becoming rapidly the language of choice for scientists, statisticians, and other knowledge workers who only do a bit of development.
That has no relation to the idea that "serious developers" use Python.