3 ms·
> I like go lang cause of this I'm a huge fan of C#, but the lack of features makes Go so damned pleasant to read. As an extreme example, the new C# record typ
by zamalek 8y ago
> I like go lang cause of this
I'm a huge fan of C#, but the lack of features makes Go so damned pleasant to read. As an extreme example, the new C# record type really breaks the neurons I have dedicated to the language:
public struct Pair(object First, object Second);
As soon as I see parenthesis, it's a method. I want record types, but that syntax is foreign. I wish Anders would spend a few months back on the C# team, he has a great knack for keeping things as consistent and minimal as possible.
- apta 8y agopublic struct Pair(object First, object Second); Scala, Kotlin, Rust among others use the same or similar syntax.