Hacker News new | past | comments | ask | show | jobs | submit login

Out parameters are not new in C# 7, only the shortened usage syntax is. So the bad code you're expecting is already there.



It is ;) I'm just expecting it to get worse.


I'm expecting it won't. With C# 7 tuples there will be less methods with out parameters in the future.


Out variables can be used for 'while were at it' code - separate concerns that are handy to code in the place where the data is available locally but have no place to be there.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: