johndoe2008


Comments:

Lazy instantiation one-liner with the coalesce operator

posted by johndoe2008johndoe2008(190) 4 years ago 0

Yes, it's faster to type, but when you come back to the code 6 months later it looks confusing. I'd rather see the longer version as it's more maintainable.

Reply