Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can understand if people want to avoid using classes. But list/dict/set comprehensions make building complex data structures easier and more performant.

Usually, if one avoids OOP features of Python, that means he/she likes to use more functional features. And vice-versa.

I imagine it's the same with C vs C++. People use malloc/free, classic for loops and structs+functions only because that style fits their mindset better.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: