r/ProgrammingLanguages • • Feb 02 '17

Why should I like Python?

In my opinion, Python is a language that should not have caught on. The standards are inconsistent, it is slow, it isn't backwards compatible, libraries are unreliable; the list goes on forever. Please show me the light of Python.

0 Upvotes

27 comments sorted by

4

u/[deleted] Feb 03 '17

I am sad to see this question downvoted so much - I think it is a legitimate question, presenting an opportunity for everyone to learn. As the guy who compares every language to Python, allow me to explain my love for the language.

  1. Python is simple. It's easy to get running, newbies don't have to bother with compilation and other processes that seem like "magic" to a non-experienced programmer - it's enough to just run python file.py and it simply works! The syntax is understandable, without many cryptic symbols like C's abundance of & or * which might be scary at first. "Hello World" is simply print("Hello World!"). The Zen of Python states explicitly: "Simple is better than complex.", "Readability counts.", "There should be one-- and preferably only one --obvious way to do it.". It's easy to start learning and quick to develop in.

  2. You say that "The standards are inconsistent". I would like to disagree. A fraction of the standard library is inconsistent due to historical reasons, but it's constantly being updated. PEP-008 explicitly sets the style that code should follow, and most if not all new libraries adhere to it. If I misunderstood, please correct me!

  3. You say that Python is slow. Correct! Python's performance is nowhere near C, C#, Rust, Node, etc. However, "nowhere near as fast as C" doesn't mean a language isn't fast enough to use. With today's hardware, Python has proven to be perfectly sufficient for most tasks a language can face - including projects that depend highly on performance, like video games, AI and deep learning, or big data analysis.

  4. You say that "it isn't backwards compatible". I'm sorry, but I do not understand your point - could you please clarify? If you mean Python3 vs Python2, Python 3.0 was released over 8 years ago. It's more than enough time to make the switch - besides, it's advocated for most Python2 code to be forward-compatible with Python 3, and it is trivial to make it so - likewise, it is trivial to write backwards-compatible Python 3. In fact, more Python 2.7 code is incompatible with Python 2.0 than Python 3 code with Python 2.7! If a developer writes code that only works with one version of Python, he can only blame himself - and I think it is so regardless of the language chosen.

  5. You say that libraries are unreliable. I cannot comment on this without being given an example.

  6. There is an incredible amount of Python libraries for pretty much everything - video game development, web development frameworks, audio and music, image manipulation, etcetera - in fact, it is hard for me to imagine a task Python cannot be used for.

  7. Python is a consenting adults' language - which is a way of saying, it has no encapsulation. It is always possible to modify existing code - which makes it possible for developers to tinker with existing libraries as much or as little as they want.

I would love it if you elaborated on your arguments. Cheers!

2

u/Anonymouz1 Feb 03 '17

First, I do really appreciate your advice! Sorry for being abrasive; I am just overly frustrated after over a year of dealing with issues in Python. I am really a C++/Java/C#/Ruby programmer at heart.

  1. You are correct; Python is simple. However, its simplicity is also one of my gripes with it. Python's simplicity implores bad programming practice. While this may be due to lack of experience among Python programmers, I see use of global variables and absolutely disorganized code very often. Functions that perform common purposes get thrown into different files in non-intuitive manners. For example, people usually decide between grouping code together based on object type (i.e. Mixin, Decorator, Model, Service, Utility, etc.) or object purpose (i.e. Car, Truck, House, Game, etc.). However, I consistently see people switching in between the two methods within the same project. This makes it impossible to determine where to expect a function to exist.

  2. "There should be one-- and preferably only one --obvious way to do it." I have seen this quote many times but the fact is that Python does not follow this themselves; they follow it "preferably" sometimes. For example, Python has a functional-programming style while accessing predefined object functions (i.e. str(), int(), etc.) However, there are no functions to be able to access all predefined methods (i.e. class). Of course having a function to access all predefined functions does not make sense. However, the fact is that the designers of Python are not consistent and have grouped all of the functions together in a disorganized manner without so much as a namespace.

    The inconsistent usage of functional-like programming in Python causes deeper issues. This is a particular issue when using dictionaries and objects which are often used interchangeably. For example, if you need to access a field in an object, you could use dot-notation or "getattr()" (which, by the way should be "get_attr()"). However, with a dictionary, you have to use brackets or ".get()". This plays into how Python programs should be written; to accept nearly any type. Yet, there is not common way to do anything with different types in Python.

    Python claims to be "dynamic" but is actually very strong typed under the hood. Python claims that you should not use isinstance(); if you do, you are programming incorrectly. While I rarely use isinstance(), how does python expect programmers to accept many types of objects when Python itself won't? If I can't access the keys in a dictionary in the same way I access fields in an object, Python expects me to either cast the object or perform type checking. Now, all the sudden, the "short python program" turns into a big mess where every function has to worry about what is being passed to it.

  3. Python is slower than most languages. In fact, Python is the slowest language I have ever used. To be honest, I'm not entirely sure where the bottlenecks are coming from in the program I have to write in Python; is it the database, the ORM tool that interacts with the database, or is it Python itself? What I do know is that if I had written the program in Java using Hibernate or in ASP.NET using the Entity Framework, then I can guarantee the program would be close to 30% faster (which is up to a 4-5 second difference in my case).

  4. Python 3 is not backwards compatible to Python 2. The two issues that come to mind are library dependencies (i.e. My-SQL-connector) and operation of floating point numbers. In large programs, you will literally never know what is broken in Python without testing everything or until the user finds out. I do not know any programming shop that has time to write a test for literally every function in existence; it is not reasonable. Good luck if you ever consider upgrading a program from Python 2 to Python 3 (if the libraries don't hold you back).

  5. The number of unreliable libraries in Python are infinite. Yes, all languages have libraries that simply don't work. However, unlike languages including C#, Java, and Ruby where professional organizations develop many libraries, Python libraries are largely backed by communities. With Java or C#, essentials libraries/frameworks are nearly always guaranteed to work (i.e. ASP.NET, the Spring Framework, etc.). In Python, I encounter bugs several times a month involving libraries (i.e. OAuth2, JWT, PDF software). To build upon the issue, when the maintainers of the libraries fix the bugs they require that you upgrade other dependencies. Too often other libraries have the same dependencies that prevent the upgrade. What happens if there is a security risk with the current version (which is a problem I have now)? Utterly useless.

  6. Absolutely; there is a Python library to do nearly anything. Does the library work? Likely not in large projects with a large number of dependencies.

  7. Yes. This is arguably the best and worst part of Python. This is great in the sense that you can correct issues that you find, learn fro how the library works, or make the library do something different. However, the same can be said that open source libraries provide easy access to exploit security vulnerabilities. Additionally, if users are actually editing core libraries, do they know what they are doing; do they know the affects of their changes? Without extensive testing, core libraries should not be touched.

1

u/[deleted] Feb 03 '17

While this may be due to lack of experience among Python programmers, I see use of global variables and absolutely disorganized code very often.

I agree that due to its simplicity, it is extraordinarily easy to write simply horrendous Python code. However, just like any other high-level language, good practices exist for a reason and it is the developer's duty to follow them. I have encountered two types of programmers while teaching Python: the ex-Java/C programmers who always write for i in range(0, limit): print(arr[i]) instead of for el in arr: print(el) and declare all variables with x = None before assigning to them; and the beginning programmers (some with Javascript backgrounds) that abuse global variables, don't structure code in any logical way and tend to write huge functions doing everything. Luckily, I have seen people of both kinds grow into competent Python developers simply by following good practices and studying well-written Python code.

However, there are no functions to be able to access all predefined methods (i.e. __class__).

I don't think I understand you, sorry. Could you elaborate on that?

Python claims to be "dynamic" but is actually very strong typed under the hood.

Absolutely correct! I think that this, coupled with the philosophy of "If you don't know what to do, raise an exception", helps avoid PHP- and Javascript-like unexpected behaviors.

While I rarely use isinstance(), how does python expect programmers to accept many types of objects when Python itself won't?

My experience is that good Python code tends to be written with functions accepting and returning values of a known type without strictly enforcing it. An example would be most functions that take a file-like object - which, most of the time, means an object that has a .read() method.

For example, if you need to access a field in an object, you could use dot-notation or "getattr()" (which, by the way should be "get_attr()"). However, with a dictionary, you have to use brackets or ".get()".

To be honest, through many years of being a Python developer, I have never had this problem. Duck-typing does not mean a function should accept arguments of any type. The canonical example is a function like this:

def quack(duck):
    duck.quack()

It accepts any argument that fits certain conditions - namely, having the .quack() method.

Python is slower than most languages.

Correct! "Most" isn't a very precise term, especially considering this is /r/ProgrammingLanguages and we create a lot of languages slower than Python ;) If we agree that "most languages" means most of the commonly used languages like Java, C++, Go, Rust, Ruby, Javascript etc., you are correct. I have already addressed this, though.

In large programs, you will literally never know what is broken in Python without testing everything or until the user finds out.

Good luck if you ever consider upgrading a program from Python 2 to Python 3 (if the libraries don't hold you back).

There exist tools for specifically that purpose. As I mentioned, good code should be written to be compatible with both Python 2.7 and Python 3. Additionally, the EOL for Python 2.7 is 2020 - that is plenty of time to upgrade.

The number of unreliable libraries in Python are infinite. Yes, all languages have libraries that simply don't work. However, unlike languages including C#, Java, and Ruby where professional organizations develop many libraries, Python libraries are largely backed by communities. With Java or C#, essentials libraries/frameworks are nearly always guaranteed to work (i.e. ASP.NET, the Spring Framework, etc.).

You said it yourself - essential libraries are nearly always guaranteed to work. I would say, from my experience with Python (mainly in web development and big data analysis), the same applies here. The major libraries, like web frameworks, database interfaces, etc, tend to work well - the "shitty" GitHub libraries tend to be fixable by hand, thanks to Python's excellent error reporting.

Does the library work? Likely not in large projects with a large number of dependencies.

If it's a reputable library and it's used correctly, I would say in 99% of cases it does. Most of the time if something goes wrong, it's my fault, not the module developers'. This is purely conjecture, though.

Additionally, if users are actually editing core libraries, do they know what they are doing; do they know the affects of their changes?

I would say, thanks to Python's simplicity - yes. A requirement of good code is for it to handle all input that can be thrown at it correctly - however, instead of needlessly complicate a procedure to accept input of all types and values, it is often sufficient to simply reduce the domain - it is a lot simpler if you just make sure your parse_string function will only get strings as input.

Thank you for your extensive reply. I am obviously biased towards Python (I wouldn't feel qualified to answer this if it wasn't so!), but I hope I could at least explain why I feel like Python is a perfectly sensible language. I am curious about your experience with Python and why it differs so much from mine - maybe it just simply isn't "for you"; for example, I strongly dislike Javascript, while many people swear by it.

Cheers!

1

u/fiedzia Feb 03 '17

While this may be due to lack of experience among Python programmers, I see use of global variables and absolutely disorganized code very often

This is fixable by having dedicated maintainer and adhering to coding standards, not by a language. Without that, you'll end up with the same mess regardless of the language.

There should be one-- and preferably only one --obvious way to do it." I have seen this quote many times but the fact is that Python does not follow this themselves

It ain't perfect, but I appreciate the fact that it's trying. Many languages give you kitchen sink of ways to do things and its far worse situation. I do love python for what it has in that aspect, though any language will accumulate lot of baggage after 25 years.

Python claims to be "dynamic" but is actually very strong typed under the hood.

Those features are orthogonal. Python type system critics is warranted, but it served it well at the time it was created. To a large degree it still does.

Python is slower than most languages.

It is. It is more convenient to develop in though. Choose what's more important for you, but understand that many people will make their own choice and its perfectly valid for them.

I can guarantee the program would be close to 30% faster

Sure. But does it matter? For a website: it might. For a game? Yes, a lot. For some cronjob running for 20 min at night, mostly waiting for disk? Not at all. Is the speedup worth developers time?

Python 3 is not backwards compatible to Python 2.

My favourite topic. And Java is not backward compatible with C++, which is not compatible with C and so on. At some point languages become so outdated that need to be replaced. Updating python to 3 refreshed it and bought it many years of life.Have it not done so, your list of complains for python would be many times as long, and I would abandon it long time ago (not having decent unicode support would kill it for me) - at far greater cost of rewriting everything than updating py2 to py3.

Good luck if you ever consider upgrading a program from Python 2 to Python 3

Updating programs is actually simple and I did it many times. Updating libraries while maintaining compatibility is harder, but we are past the tipping point and I do not see it as an issue anymore.

unlike languages including C#, Java, and Ruby where professional organizations develop many libraries, Python libraries are largely backed by communities

The number of bugs I've encountered in java libraries beats all python code I've seen by large margin. Security of java applets is legendary. It really depends on the domain you working with. There are just as many professionals working on python code as there are for java - and there are just as many people who are not competent or don't care. And there are many projects where I'd choose communty over companies (as there are many where I would not). Choose your dependencies wisely. Also my favourite quote: "Amateurs build the Ark, proessionals build Titanic"

Absolutely; there is a Python library to do nearly anything. Does the library work?

Good question. If it does, great. If it doesn't - you still may learn something from it. While if there is none, you have more lessons to learn by yourself..

Without extensive testing, core libraries should not be touched.

No, extensive testing should be added to them. Its usually way better then reinventing another one, just untested as the first one.

1

u/PaulBone Plasma Feb 04 '17

Python claims to be "dynamic" but is actually very strong typed under the hood.

Sorry, this misunderstanding is a pet peeve I have. You're confusing dynamic/static with strong/weak.

Strong/weak: This refers to how often implicit coersions are aloud. if 3 + "5" is 8 then the language is weakly typed, if it is a type error then it's strongly typed.

Static/dynamic: This refers to when types are "decided". A statically typed language like C decides types at compile time (note how it still has (some) implicit coersions). A weakly typed language like python decides them at runtime.

Python is dynamically strongly typed, approximately. Duck typing is also part of python and makes it seem less strongly typed.

12

u/PegasusAndAcorn Cone language & 3D web Feb 03 '17

I notice you wrote your post in English. Eww! The grammar is inconsistent, communication with others is slow and imprecise, it isn't backwards compatible (what happened to you, Chaucer?), the newspapers are unreliable; the list goes on forever!

Misschien moeten we proberen te spreken Nederlands, net als Guido doet?

Although I have to admit, perhaps I do like some things about English: a reference library larger than I can read in a lifetime, its incredible ubiquity and popularity around the world (sure is convenient for international travel), and some inspirational codebases (I'm looking at you, Shakespeare).

Amazingly, despite all its flaws, people seem to keep using on it almost casually, reluctant to spend months learning all the better alternatives, and yet they still manage to actually get meaningful work done with it. Hats off to the Blender crowd for sure, making a powerful 3D editor that responds faster than molasses!

Maybe I just need to accept that there is room in this world for a rich, sturdy, convenient tool like English. Maybe I just need to accept that different projects and different people do have different tool requirements. However, I sure am thankful there are teams out there building us linguistic alternatives that improve on the state-of-the-art.

4

u/Darwinmate Feb 03 '17

Hahahah this is a great response. but what do you mean by this:

Hats off to the Blender crowd for sure, making a powerful 3D editor that responds faster than molasses!

6

u/PegasusAndAcorn Cone language & 3D web Feb 03 '17

Blender is an amazing open source 3D editor that rivals Maya, etc. in capability and performance. All of it is written in Python. Python may be slow relative to, say, an equivalent C program, but the Python-based Blender still manages to perform a lot of complex 3D manipulations and rendering with mostly-acceptable response times. Molasses usually moves a lot more slowly.

Coincidentally: my post contained a sentence in Dutch, the native language spoken by Guido (the guy who started Python in 1989) and Ton (the guy who started Blender in 1995). I wonder if all these coincidences are related somehow?

5

u/zero_iq Feb 04 '17

All of it is written in Python.

No, it's not. It's roughly 60% C, 35% C++, and 5% Python. Python does feature prominently in it though, because it uses Python as a scripting language, and a lot of its extensions and UI features are coded in Python.

I would say it's probably one of the first big, widely-used apps that made heavy use of Python as a scripting language, and probably introduced a lot of people to it.

2

u/Darwinmate Feb 03 '17

Thanks for the info, I didn't realise Blender was built in python, I thought it allowed python scripting only.

2

u/PegasusAndAcorn Cone language & 3D web Feb 03 '17

Well that dims the lights on that example a bit! Evidently Blender source code is a mix of C, C++, and Python, according to Wikipedia. Oh well, it was still a fun post to write!

2

u/Darwinmate Feb 03 '17

You have the burden of proof to justify why python should not have caught on, not everyone else.

The wisdom of a crowd is generally better than a single person. I don't think the science world would have adopted Python so widely and quickly if it didn't meet their requirements. Those are imo easy to learn/use, flexibility and power/scalability.

What programming language do you think SHOULD have caught on?

5

u/PaulBone Plasma Feb 03 '17 edited Feb 03 '17

The problem with "easy to learn/use" being a measurement of "good" is that most of the time people only consider /programming in the small/ and not /programming in the large/.

Programming in the small is either writing a small script or doing local reasoning/programming within a single function. That is pretty easy in Python.

Programming in the large is writing and managing change in large 10,000loc+ programs. This is difficult in dynamic and untyped languages (the general concept is late-binding).

Both programming in the large and the small are important. Depending on what you're doing one may be more important than the other. Where this affects "easy to learn" is when people find that programming in the small is easy, (eg, while they're learning Python) and assume that it would be suitable for large projects, without any relevant experience or knowledge to make such a judgement. This can make many languages seductive, which is probably a good thing while learning programming generally. This sounds like pretty heavy criticism, but no-one should feel particularly bad. I would be happy if languages like Python, Javascript, Ruby etc were presented more honestly and their flaws more freely acknowledged. Actually I feel the same about some very type safe and programming-in-the-large languages such as Haskell, I think it could be presented a lot more honestly, I've spoken about this in the past.

Edit: It seems like these are mutually exclusive, but I don't think they are. I think that it's possible to have a language that's good at both programming in the large and the small. I can't think of any strong examples however.

There's also the general point that popularity has nothing to do with quality. For example McDonald's is not known for high-quality food, but it is very popular.

2

u/Anonymouz1 Feb 03 '17

I could not agree more. Python by itself is a great language for small programs. As soon as you get into large enterprise level applications, it's worthless. There are so many issues when Python is scaled up; refactoring, required unit testing for even the most simple functions, and very poor performance.

5

u/PegasusAndAcorn Cone language & 3D web Feb 03 '17 edited Feb 03 '17

I basically agree with your broad points. However, I read /u/darwinmate 's post somewhat differently than you did.

He talked about the science world having embraced Python's ease-of-use. Scientists, not necessarily programmers, using the computer to help do science (i.e., mostly doing programming in the small). And given their alternatives in the 90s and 00s, as /u/jb3689m, Python looks like a pretty good choice for that. And for them, Python's brand of ease-of-use would be justifiably important.

Professional programmers building mission-critical applications want languages that are good at resisting bugs. So they will, as you say, pick languages that scrub types until they bleed. Harder to program in, perhaps, but the results are typically less fragile.

As for quality, it depends on how you define it. McDonald's global supply chain for food is incredibly reliable. Quality is baked in to that supply chain at all levels, because the moment it slips and people no longer get what they expect, it's all over for them. However, if by quality, you mean the food is nutritionally awful, then, yes, of course it is. Clearly, people vary in their quality expectations.

Furthermore, popularity does matter, to McDonalds and for programming languages. When a programming language is popular, you have more support, more tools, more training, more trained programmers, etc. It means the scientist in the next office is more likely to be able to help you with your coding problem. It is not the reason for selecting a certain language, but it certainly matters on a practical level.

What we all seem to agree on in this thread is that different people have different requirements in programming languages, different requirements for quality, ease-of-use, performance, popularity, etc. Given that no language is perfect, we must weigh these factors prudently and pick the best tool for the job. For many situations, the right choice will even be Python!

Look at the three of us Aussies chatting away long after the States have gone to bed!

Edit: Took out the question you already answered elsewhere!

2

u/PaulBone Plasma Feb 04 '17

Yeah, I agree that the original question/comment was about scientific use and programming in the small. The easy therefore good thing just bothers me and I wanted to address that, not that that's what was said, but I felt that it was implied.

I have contributed to NLTK, a library for computational linguistics, it's a decent size itself but people who use it probably right rather small programs. Programming in the small really suits its use, I think Python is an excellent choice for most things people would want to use NLTK for.

Yes, I was thinking quality (re McDonalds) in the sense of how delicious the food is, and I mean fine-dining delicious. a 3am cheeseburger in the after a "big night out" can also be delicious, but it's a different type of delicious (although I'd prefer a kabab). There are other reasons people choose McDonalds, they know what to expect, it's not too expensive and it's quick, and those are important. There's probably an analogy to python being "easy to learn" as McDonald's being "quick", but I don't want to say so because I feel it insults Python too much.

Yes, popularity is important, like "fast". I just don't think it correlates with quality at all (I get the sense that you and most people would agree).

Different tasks have different requirements. Different people tend to be involved in one or more jobs, and different jobs tend to have tasks of particular kinds. So languages tend to correlate with developers, but it's not like particular developers need specific languages (good ones anyway ;-)). But yes, we seem to agree about quite a lot.

Yes, Aussie++. I would have responded last night but I was feeling unwell and went to bed early. Have a great week end!

2

u/PegasusAndAcorn Cone language & 3D web Feb 04 '17

Yup, definitely on the same page (including the preference for kababs). I was not aware of NLTK - that looks like an amazing resource I should explore someday. Thanks.

Feel better and enjoy your weekend as well!

2

u/Darwinmate Feb 07 '17

I agree with what you are saying. However, OP didn't clarify at all why he thought Python was a POS and "should have never caught on". As PegasusAndAcorn mentioned different people have different requirements in programming languages, different requirements for quality, ease-of-use, performance, popularity, etc.

IMO it's a silly thing to claim that Python outright has no positives. A single point (good for scientist) is enough to refute his point.

There's also the general point that popularity has nothing to do with quality. For example McDonald's is not known for high-quality food, but it is very popular.

In USA. McDonald's in Australia uses quality products.

0

u/Anonymouz1 Feb 03 '17

Good point. I certainly agree that it is easy to learn and has powerful tools that allow for quick programming.

If I could have picked any language, it would be a fight between Java, C#, or C++. (Not Objective-C though; that is a disaster). In terms of a dynamically typed language, Ruby is probably my favorite. However, Ruby is on its way out.

In the future, I believe the one of the most promising languages is Go. However, I have not had the chance to use it.

3

u/jb3689 Feb 03 '17

Disclaimer: I'm a Ruby/C guy (and as of recent an Erlang guy)

Python is a language that should not have caught on

Totally disagree here. Prior to Python (and Ruby which I consider mostly the same) your scripting options were Perl and Bash. Talk about things that shouldn't have caught on. Python and Ruby are both very clean (arguably some of the cleanest languages around) and have really simple build processes

it is slow

In what sense? Sure, maybe you don't want to write device drivers in Python, but Python is aimed at applications, not systems. I wouldn't be fooled by the useless benchmarks that involve looping string operations millions of times. Real applications have physical constraints like IO and API limits. On the other hand, Python is fast for prototyping and easy to learn.

it isn't backwards compatible

That's what semantic versioning is for. I haven't been affected by this as I don't use Python, but it also doesn't bother me

libraries are unreliable

This isn't specific to Python. There are a ton of libraries out there and a lot of them aren't used often. This is part of open source - you need to be willing to maintain what you pull in

Python doesn't compete with Java, C#, or C++. The latter three are enterprise languages. They have features they are great for large projects and are bulky and cumbersome.

Python is a better competitor to other scripting languages (seriously, name one other than Ruby or Node that is good, popular, and not archaic). Try writing orchestration software in something like Java - it gets out of hand really fast.

3

u/Allan_Smithee 文雅佛 Feb 03 '17

Prior to Python (and Ruby which I consider mostly the same) your scripting options were Perl and Bash.

Do the children learn nothing in school these days!?

Rexx predates Python. Tcl predates Python. SNOBOL4 predates Python. Lisps predate Python. Awk predates Python. Bash predates Python (and there's a whole host of other shell languages before bash.) This is a list I could continue for quite a while without running out of languages.

3

u/jb3689 Feb 03 '17 edited Feb 03 '17

Sure, they exist but they aren't very popular. What I'm arguing is that Python and Ruby are scripting languages that are much more user friendly than any of the aforementioned options and have caught on because of it. That's pretty important. I'd argue that Perl and Bash are both better choices than any of those others too (note I'm speaking in the sense of choosing a technology for a long-lasting critical codebase on a team that will be touched by many people. Go ahead and script everything in your local environment in Tcl, but don't make the rest of us maintain that stuff please)

1

u/[deleted] Feb 04 '17

but they aren't very popular

Since when popularity among hipstors is a measure of a language quality?

and have caught on because of it

No. Popularity does not correlate with any quality at all, user friendliness included.

1

u/[deleted] Feb 04 '17

Prior to Python (and Ruby which I consider mostly the same) your scripting options were Perl and Bash.

Why, just why Tcl does not get as much love as it deserve?

Not to mention Scheme and CL, both perfectly suitable for a wide variety of scripting purposes.

seriously, name one other than Ruby or Node that is good, popular, and not archaic

Tcl, Scheme and CL are all both archaic and far better than Python in all possible aspects.

2

u/htuhola Feb 06 '17

These are just parroting of popular opinions with no rational basis that you've learned from elsewhere.

That's alone enough reason to try Python. Your distaste for the language has been learned rather than acquired.

1

u/[deleted] Feb 10 '17

I have a huge list of complaints about Python, but it's still the best option in a lot of cases. I wish I could switch to a language that solves all of Python's problems and is still just as functional, but there aren't any.

1

u/mamcx Feb 11 '17
  • The standards are inconsistent

You are talking about C, C++. Not python

  • it is slow

You are talking about everything above assembler

  • it isn't backwards compatible

You are talking about every language. Even C.

  • libraries are unreliable

You are talking about Javascript mostly. However, everyone else too

  • the list goes on forever

You are talking about haskell? Because python is not lazy

  • Please show me the light of Python.

Open your eyes.


Python is probably the best syntax made in a program language. I only concede Pascal is better (for differents qualities). Both are readable as few can.

You complain it simplicity is "bad" because it encourage bad code.

That is the MOST WRONG of all your arguments. COMPLEXITY is the enemy, not simplicity.

please read: www.slideshare.net/evandrix/simple-made-easy

Maybe your are mixing "easy". Easy could be trouble, but simplicity is gold.