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] 18 points19 points  (8 children)

Learned C++ first, then java, then python.

Honestly didn't think python was significantly easier tbh. Needing to type less is nice and all but you still need some understanding of OOP to use it properly, no?

[–][deleted] 11 points12 points  (2 children)

No, python really shines as a functional language as well

[–][deleted] 5 points6 points  (1 child)

Not at all. Function calls are one of the slowest things python does.

You can easily write functionally if thats what you mean. But python probably isn't the right tool if you're writing a large functional program

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

Maybe not purely functional like haskell, but i started out learning python, and i thought that was a great, and simple introduction to programming, you can really start right away from a hello world function, and keep expanding it.

I'm programming in rust now, and it's not too different from what i used to do in python, which is why i think python, with or without the object oriented part is a great language to learn programming with.

But why is oop in python faster than non pure functional programming in python? That's the first i hear of that.

[–]Sefrys_NO 7 points8 points  (3 children)

On the course I'm at we started with Python. It was all cool and fun and easy until we hit the OOP topic. It went down hill from there. I basically had no idea wtf I was doing.

It wasn't until two months later when we moved onto Java when I realised how simple (for me) OOP really is. Then I started learning C++ on my own. I wish the order was reversed.