Follow

One thing that really kills me about Python is the lack of automatic forward declarations for classes.

It forces you to either write your modules backwards (most specific to most general instead of vice versa), proliferate ad-hoc or util modules, or resort to gross hacks like using strings then fixing it all up later. It also forces standard libs like typing to do same.

Not even Java has this issue. It's 2020, how is this even still a problem?

@mjog but Java is not a scripting language, it has separate declarations and executable code; Python doesn't

@bugaevc That's a poor excuse for such a big usability and code quality problem, especially since the language is billed and most often used as a language for programming in the large.

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!