News for hackers. Stuff that matters.
Re:New Features in C# 7.0 by sharpercoder on Friday November 18, 2016 @01:18PM (#12988826)
I'm torn about these features. On one hand I can see the usefullnes, but on the other hand I also expect them to be used in bad ways.

Pattern matching for example on types may indicate an OO design problem. Tuples may indicate an expression problem; often times a properly named class expresses intent much better.

As with any tool it is possible to misuse it, but pattern matching and tuples feel to me somehow as an especially fit tool to misuse.

Re:New Features in C# 7.0 by platz on Friday November 18, 2016 @01:23PM (#12988886)
The sweet spot for tuples are single-use cases local to a function, not global tuples flying around