3 ms·
C# gets more and more features from F#, for example you can now declare immutable records in a single line: record Book(string Name, int publishYear) and ther
by jjjeii3 6y ago
C# gets more and more features from F#, for example you can now declare immutable records in a single line:
record Book(string Name, int publishYear)
and there are millions of jobs worldwide.
- jjtheblunt 6y agothis seems to be Scala "case classes" or Java "records" or Kotlin "data classes"...the earliest I saw it was (among these) in Scala. I find it a positive sign that these expressive languages are mimicking one another.