Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
janwillemb
on March 9, 2017
|
parent
|
context
|
favorite
| on:
New Features in C# 7.0
Out parameters are not new in C# 7, only the shortened usage syntax is. So the bad code you're expecting is already there.
flukus
on March 9, 2017
[–]
It is ;) I'm just expecting it to get worse.
JamesNK
on March 10, 2017
|
parent
|
next
[–]
I'm expecting it won't. With C# 7 tuples there will be less methods with out parameters in the future.
bbcbasic
on March 10, 2017
|
parent
|
prev
[–]
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: