5 ms·
If Microsoft could pull it off, the ability to write both C# and F# inline in the same class, or at least the same file, would really be the best of both worlds
by jackfoxy 16y ago
If Microsoft could pull it off, the ability to write both C# and F# inline in the same class, or at least the same file, would really be the best of both worlds. I'm not a languages guy, so I don't know if this idea is practical, but like everything else, it probably is "possible".
- hello_moto 16y agoThe world of programming will never agree in one thing, so if this would've happened, some people would love it and some would hate it. There will be new "patterns" on how to use both features without shooting yourself in the foot. There will be new libraries written that exploit the awesomeness of both features. At the end of the day, there will be people benefited from that, and there will be more segmentation in the industry. People will have to be trained (wait... that no longer exist in our industry). ... and I... I will move on to a more managerial position so I can put to rest the learning of programming language for the sake of learning and swinging ego than for actually building things.
- arethuza 16y agoI rather like that idea - allowing different languages at the method level would be rather cool.
- RodgerTheGreat 16y agoWouldn't that be a lot like C#'s LINQ? The ability to drop complex, lazily-evaluated functional expressions into procedural C# is the closest example I've seen to blending the two methodologies. (Perhaps 'ideologies' would be a more accurate term?)
- cema 16y agoIt is much less practical than adding FP capabilities to C# which is where C# is evolving anyway.