Login
From:
Enterprise Craftsmanship
(Uncensored)
subscribe
Generic types are for arguments, specific types are for return values · Enterprise Craftsmanship
https://enterprisecraftsmanship.com/posts/generic-types-arguments-specific-types-return-values/
links
backlinks
Roast topics
Find topics
Find it!
Today, we’ll discuss the following guideline: you should use the most generic types possible for arguments and the most specific types possible for return values.