If you leave them off you can make a function generic but you need to make sure you don't have multiple returns that could each return different types.