3 ms·
It's a hard question to definitively answer. I think Python has a lot going for it. It doesn't do dumb things when testing for equality, it's predictable. At t
by lol768 10y ago
It's a hard question to definitively answer. I think Python has a lot going for it. It doesn't do dumb things when testing for equality, it's predictable.
At the same time, it's perhaps not as easy to write quick scripts if you don't know OOP (example: having to use the global keyword in helper functions). There's also the work required to get it set-up.
I learnt with Java. It gave me an understanding of OOP but in it did not give me a good understanding of lower level details and unfortunately I've not properly learnt to write code in C at university. In hindsight I'd have been better off starting with C. It would've been more difficult for sure, but I'd have understood what actually going on.
- u801e 10y ago> At the same time, it's perhaps not as easy to write quick scripts if you don't know OOP (example: having to use the global keyword in helper function Your example has nothing to do with OOP. It's simply how python handles variable scope outside of a class.