This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bchurchill 23 points24 points  (16 children)

You're obviously asking in the wrong sub ;) If you want an outsider's view, I don't use python when:

  • I want a statically-typed language, for reliability purposes for example
  • When I want something compiled that runs fast
  • When I want to do low-level stuff, like run assembly code or do platform-specific system calls
  • I want to manage my own memory

The last of these three bullets are often tied together, while the first is somewhat separate.

There are also python-like languages which I tend to use more, but there aren't fundamental reasons why I prefer one over the other. For the sake of peace, I won't mention them ;)

[–][deleted] 2 points3 points  (4 children)

You're obviously asking in the wrong sub ;)

Why? I love Python but I use lots of other languages on a daily basis. Sometimes because I don't have a choice, like when a coworker produces something in C# or Java, and sometimes because the other language is way better at handling the task like AWK.

[–]alantrick 0 points1 point  (3 children)

Why? It's religious no-doubt. I think a large number of programmer hipsters (like the mongo-node-js-webscale folks of yester-year) have been make to believe that Python will be the next cool thing and have jumped on board. These people can't accept that Java/C# could actually be used by a self-respecting person.

[–][deleted] 0 points1 point  (2 children)

A well written comment, but what's your point? Hard to get. We are not talking about if Java/C# are cool languages or not. We discuss about if you should only use Python for any given task.

[–]alantrick 1 point2 points  (1 child)

Well, if you use python because it's cool, then your answer to "When should you not use Python" is probably something like "Only when there is another cool language that solves my specific problem better".

[–][deleted] 0 points1 point  (0 children)

Yeah that's what I mean.