2 ms·
> classes with brittle, snowflake interfaces That is exactly the opposite experience that I have, to the point I feel like it's from a different universe. Per
by magicalhippo 2y ago
> classes with brittle, snowflake interfaces
That is exactly the opposite experience that I have, to the point I feel like it's from a different universe.
Perhaps difference in domain, but every time I have to use Python or JS I hate the lack of explicit types with defined interfaces as discoverability during coding is zero. And you end up with code that, after dependency updates or similar, you never know if it'll crash until you run it.
- froh 2y agoin my experience there's always so much more to data structures that you can shoehorn into member functions. I agree type hints are a godsend for discoverability, but please, show me all operations this type can be a parameter for. I want "discoverability" on the argument lists of all libraries. and I find lsp with type hints useful for that. and multi methods! can I have multiple dispatch? but first parameter based dispatch "oop" only? meh.