4 ms·
Would you mind sharing some of the frustrations you have had using F# from C#? I haven't hit anything too hard yet but I also haven't worked on any large projec
by ClimaxGravely 3y ago
Would you mind sharing some of the frustrations you have had using F# from C#? I haven't hit anything too hard yet but I also haven't worked on any large projects that are setup like that.
In regards to the C# vs F# issues. Have you tried using WPF or any desktop GUI frameworks from F#? If so how was the experience?
- munchler 3y agoHere's a quick example of the kind of trouble you can easily get into when calling idiomatic F# from C#: https://stackoverflow.com/questions/1952114/call-a-higher-order-f-function-from-c-sharp https://stackoverflow.com/questions/1952114/call-a-higher-or... It's been a few years, but yes, I've implemented WPF apps in F# and found it quite doable. FsXaml was very helpful: https://fsprojects.github.io/FsXaml/ https://fsprojects.github.io/FsXaml/
- ClimaxGravely 3y agoThanks for the information! I figured I hadn't really scratched the surface on this stuff. I'm quite interested in making a GUI from a functional language. This could be a good way to kick the tires.
- oaiey 3y agoReactive Programming I guess is the key to GUIs from F#/FP perspective. It is the modern way of doing things anyway but requires then a UI stack which is optimized for it.
- ClimaxGravely 3y agoAh funnily enough I did use that a fair amount in my C#/WPF days. Rx does indeed seem like a good fit.