Re:How to Sell Excellence
by mightybyte on Friday April 03, 2015 @07:15PM
(#9319142)
> I'm sure there's some way I could use Haskell or OCaml to write Android and web apps.
I don't know about Android, but for Javascript apps the balance tipped for me just last month. I'm probably enough of an insider that it's not quite true yet for the average Haskell developer, but I believe that will change soon.
Re:How to Sell Excellence
by seanwilson on Friday April 03, 2015 @07:31PM
(#9319197)
What framework are you using? I've investigated Dart, Flow and TypeScript to improve static checking but I'm still having pain points: they work fine when dealing with your own self-contained code but integrating with third party libraries isn't always straightforward.
Re:How to Sell Excellence
by mightybyte on Friday April 03, 2015 @07:50PM
(#9319265)
I'm using GHCJS and Reflex. Reflex is a recently released FRP library that makes a huge difference in one's ability to abstract GUI code. I personally feel that this combination of GHCJS + Reflex is the first thing I've used that makes web front end programming tolerable. A week ago there was a presentation about it at the NY Haskell Meetup. Look for videos of it to be posted early next week.
Re:How to Sell Excellence
by seanmcdirmid on Friday April 03, 2015 @08:00PM
(#9319293)
Ah, that's new! Is there any documentation on Reflex? A quick google search isn't working.
Re:How to Sell Excellence
by mightybyte on Friday April 03, 2015 @08:39PM
(#9319403)
It's new, so not right now. But docs are coming. The NYHUG presentation will probably be the first thing along those lines. My company just rewrote a significant front-end app in it, so we clearly are invested in its future. In the meantime there's a #reflex-frp IRC channel on Freenode that you could use to talk to some of the people currently working with it.
Re:How to Sell Excellence
by mightybyte on Sunday April 05, 2015 @01:20PM
(#9324673)
Oh, there is the try-reflex readme.
https://github.com/ryantrinkle/try-reflex/blob/master/README...
Re:How to Sell Excellence
by gclaramunt on Saturday April 04, 2015 @02:45AM
(#9320192)
Reflex looks awesome, and it's real FRP
Re:How to Sell Excellence
by ryantrinkle on Tuesday April 07, 2015 @01:28PM
(#9335621)
Thanks! If you haven't seen the talk yet, take a look and let me know what you think :)
Re:How to Sell Excellence
by gclaramunt on Tuesday April 07, 2015 @04:33PM
(#9336963)
Yeah, I was there... I really liked it.
I've used Purescript[0] and thermite[1] (purescript's react bindings):
Re:How to Sell Excellence
by ryantrinkle on Tuesday April 07, 2015 @01:27PM
(#9335613)
The talk for Reflex is up now, in case you're interested: https://news.ycombinator.com/item?id=9334766
> However, to be productive, you're usually constrained by what the dominant language is for your domain.
For the code running on the server side, you are free to use whatever you want. Are you using strongly typed FP there?
Re:How to Sell Excellence
by seanwilson on Friday April 03, 2015 @08:58PM
(#9319449)
It depends on if your server side code is heavily reliant on third party libraries written in non-functional languages and which languages your team are experienced with.
However, to be productive, you're usually constrained by what the dominant language is for your domain. For example, Android apps are usually written in Java and web apps are usually written in JavaScript. Each has a huge ecosystem of tools and libraries based around these languages.
I'm sure there's some way I could use Haskell or OCaml to write Android and web apps. However, by going against the grain, it's likely to be very time consuming and frustrating to integrate with existing libraries and tools. I'm therefore going to lose any advantage I was hoping to gain from using a functional language.