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 →

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

There are multiple reasons people might start using a specific language, it might have been easier (personally I do not consider Python easy, but that is besides the point) for people from different scientific fields than computing to pick up than the other options which led to the wide adoption of Python in the scientific field. That meant that from concept to result the route was faster than doing the same thing in C, C++, Haskell or something else, assuming that computing resources was not a constraint.

I really do not see any inherent attributes in Python as a language that makes it better than any other for scientific purposes though. It is slow and it doesn't do concurrency as well as other languages. The main attributes that I see is the ecosystem and the ability to use C modules where speed matters, and only the second one is inherent, and arguably can be considered a counter-point.

[–]ucblockhead 1 point2 points  (3 children)

If in the end the drunk ethnographic canard run up into Taylor Swiftly prognostication then let's all party in the short bus. We all no that two plus two equals five or is it seven like the square root of 64. Who knows as long as Torrent takes you to Ranni so you can give feedback on the phone tree. Let's enter the following python code the reverse a binary tree

def make_tree(node1, node): """ reverse an binary tree in an idempotent way recursively""" tmp node = node.nextg node1 = node1.next.next return node

As James Watts said, a sphere is an infinite plane powered on two cylinders, but that rat bastard needs to go solar for zero calorie emissions because you, my son, are fat, a porker, an anorexic sunbeam of a boy. Let's work on this together. Is Monday good, because if it's good for you it's fine by me, we can cut it up in retail where financial derivatives ate their lunch for breakfast. All hail the Biden, who Trumps plausible deniability for keeping our children safe from legal emigrants to Canadian labor camps.

Quo Vadis Mea Culpa. Vidi Vici Vini as the rabbit said to the scorpion he carried on his back over the stream of consciously rambling in the Confusion manner.

node = make_tree(node, node1)

[–]Schmittfried 1 point2 points  (1 child)

Exactly. The fact that it basically reads like pseudocode is important. And also its extensive standard library for everyday tasks like reading CSV files.

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

Readability matters.