Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



this 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: