News for hackers. Stuff that matters.
Re:What makes you enjoy Go lang? by hakanderyal on Wednesday April 26, 2023 @04:03PM (#35719222)
Record types introduced in C# 9 solves this.

It's now as simple as

record SomeData(string Name, int Id);

Which gives you an immutable object, auto generated constructor, and some additional helpers to make life easier.

There are no comments on this comment yet.