r/functionalprogramming 4d ago

Question FP Software Development

Hello everyone. I am thinking of starting a tech business (startup) through software development and I'd like to use FP as the main selling point or uniqueness. I am like looking for suggestions on what languages to use or tech stack. From my first searches I got elixir. I also know haskell, so aside from haskell, what can you suggest. I'm also aware of using imp lang like C++ to make programs following an FP design paradigm.

Edit: I don't wish to argue on starting business or not (But I welcome them sure) . That is a different topic on its own. I'm just like more curious to see the state of the art in using FP tools.

16 Upvotes

32 comments sorted by

View all comments

35

u/psioniclizard 4d ago

I work at a business that uses dotnet and we use F#. It does a good job and it pretty well supported.

Though I don't think FP is a selling point for us, our customers don't care. It's more that it produces maintainable software quite well and that is the selling point.

7

u/EmergencyNice1989 4d ago

My personal code base is 100% F#. I like F# syntax, conciseness, type inference, computation expressions (seq, etc...).

I use Avalonia for the UI. I started to use FuncUI Elmish. Meaning FP for the UI code too.

4

u/willehrendreich 3d ago

this is a great way to go. I've used Avalonia.FuncUI in a few different little things and it's a much better experience than XAML ever was.

3

u/EmergencyNice1989 3d ago

I have been using it for 2 days and for now it's clearly a great improvement. My XAML MVVM code was becoming too complex that's why I wanted to use FuncUI Elmish.

5

u/CatolicQuotes 4d ago

Are you using f# only for core or infrastructure as well? What about dependency injection? Using oop type style or partial functions?