Re:How many keywords I can fit into a single C# expression?
by titanix2 on Thursday February 07, 2019 @12:20AM
(#19103192)
F# wasn't created from scratch at all, it's the last descendant of the ML language family. It was originally developed with some compatibility in mind. So no, a hypothetic today's C# wouldn't look like F# if is wasn't intentionally functional.
[ Parent
| on HN ]
Re:How many keywords I can fit into a single C# expression?
by mattnewport on Thursday February 07, 2019 @12:42AM
(#19103289)
I didn't say that F# was created from scratch, I'm familiar with its heritage. My point was that C# started as a slightly improved Java but the trend in new language features, particularly in recent years, has shown a strong influence of functional programming in general and F# in particular. Hence the idea that if in some hypothetical universe C# was making changes not constrained by backwards compatibility I would expect it to look more like F# and less like Java.