News for hackers. Stuff that matters.
Re:Ask HN: What would be your stack if you are building an M... by xupybd on Thursday January 26, 2023 @04:18PM (#34538978)
It's obscure and different but I'd be using https://safe-stack.github.io/ I've never felt as confident about my code as I am with F#. It takes a little getting used to and some custom widgets are awkward to get working but I love the stack.
Re:Ask HN: What would be your stack if you are building an M... by SIRHAMY on Friday January 27, 2023 @11:50AM (#34548219)
Another F# fan here =)

I really like it for building backends but I haven't found the frontend story as compelling. Currently I use F# for my API and then use a standalone frontend (currently SvelteKit) to try and get the best tool for backend / frontend.

Q: How's your experience been with F# frontends? I'm assuming you're using Fable?

Re:Ask HN: What would be your stack if you are building an M... by xupybd on Friday January 27, 2023 @03:02PM (#34551045)
It's been amazing. Yeah I'm using fable. I think there is an early Svelte version.

The strength is shared code between the back end and front end. The same types and validation logic.

I like Elmish but I'm still prone to create a bit of a mess. It takes some thinking in how to build modules up. The bundle size is a little large as well.

My bug count is way down. I love strong typing in the front end.