3 ms·
I'm not talking about highly opinionated languages, but common idioms across OOP languages. C doesn't have classes. pre-ES6 - agreed, but who writes it? I thin
by andreygrehov 8y ago
I'm not talking about highly opinionated languages, but common idioms across OOP languages.
C doesn't have classes. pre-ES6 - agreed, but who writes it? I think Perl is a bad example, it's dying and is one of those highly opinionated guys, with all its `method`, `trusts`, etc.
> As for the complaint about the `if __name__ == '__main__':`, to which language are you referring to that has a more self-evident way of encapsulating that functionality?
My gut tells me that this is an error-prone idiom.
I'm not saying Python is bad, I just don't like it. I'd love to know what are the strongest sides of the language though?