You had me up until the slots.

The idea of strict modules without those is fully acheivable as a modest enhancement. You would have very good chances of selling that more broadly and getting somewhere with it. But slots is poising the good idea with a much less workable sidecar. It's not that slots would never be a good idea, but static typing is also a good idea in many cases. Lumping these 2 functions together fails at separation of functionality.

Focusing on just static definitions in imports is something that really has legs. Out of the gate, probably 1/2 of python projects could do this fairly easily. You get nothing remotely near that with the slots.

--

--

--

Obligatory analytical writing, online participation account for Medium. Engineering, software, books, space, constant daydreaming.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan

Alan

Obligatory analytical writing, online participation account for Medium. Engineering, software, books, space, constant daydreaming.

More from Medium

15 Books Everyone Should Read At Least Once

How Can Overfishing, Bycatch, and Oil Spills Be Prevented?

CS373 Spring 2022: Antoney Eimadu: Final Entry

If She Could Do Some Magic for Me -An Innocent Wish Of A Blind©

Poster of the movie Dhanak