Comment

Comment by rocgf

As it just so happens, I was struggling with this in Python recently and this post describes a better solution than what I came up with.

> Essentially, if this is a feature you must have, Python seems like the wrong language.

While I don't disgree in the absolute sense, there are constraints. You can't just switch language or change the problem you're solving. If you have the need for more type safety, then this is a price worth paying.

parent rocgf 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton