lundi 10 août 2015

Default parameter value is good practice? [on hold]

I have a controller method called GetCustomer(int id=0)

This smells weird in my opinion, but was already here, and I'm wondering if this is a good practice!

I would rather in this case use nullable type!

Aucun commentaire:

Enregistrer un commentaire