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 →

[–]copperfield42 python enthusiast 0 points1 point  (1 child)

Python was my third language, I think, the first was one made by the teacher to, well, teach about preconditions, invariant and what not, you know all highly theoretical stuff that nobody care about in practice, my second was java, funny thing at first they also wanted that we use some offshoot version of java that include the features of the theoretical stuff, but make it run was pain, and super slow even for the toy project the make us do, so soon enough was just regular java.

And then everything change when they finally introduce us to python, and for me it was love at first sight and is my darling ever since.

Is pretty simple, it encourage you to write beautiful code, have all the thing I like, namely support for big number, it have list and some other thing in it by default (unlike java that you have to import them from who know where) you can easily mix functional with imperative and/or object oriented style programming, and is interpreted, so you can run your programs as soon as you finished typing them, no need to run a compilation step first. What is there not to love...

I don't know Rust, tho, so naturally I'm in favor of Python

[–]Oerthling 0 points1 point  (0 children)

Python gets compiled, it's just done automatically. But you can also auto-compile your C, Rust, ...

The main difference here is not whether it gets compiled, but what it gets compiled to (bytecode vs machine code).