3 ms·
You got me to look up 'generics'. I like the idea, feels very pythonic ironically. And I suppose if you don't want the generic, I imagine there is probably som
by hospitalJail 3y ago
You got me to look up 'generics'.
I like the idea, feels very pythonic ironically. And I suppose if you don't want the generic, I imagine there is probably some subclass of that which is more restrictive.
Anyway, as a developer I love when people do this. As a developer this sounds like a nightmare to maintain. My coworkers have told me to limit the numbers of 'what ifs' and just roll with it.
- leroman 3y agoYou can think of generics a meta-language that restricts and documents some behavior one level above the concrete types that you might need.. Lots of benefits, code re-use, documentation as code, less bugs.. Granted it's not always easy and straight forward but that what senior developers in the team are for..
- marcosdumay 3y ago> feels very pythonic ironically. Look at duck typing.