News for hackers. Stuff that matters.
Re:Which Programming Languages Are Functional? by innocentoldguy on Wednesday December 30, 2015 @07:36PM (#10815402)
I feel the same way about Elm. I am curious regarding your comment about ports though. I will admit, I haven't used ports for connecting with three.js, but I have used them to tie in with existing Javascript code during our conversion process and I thought they were pretty nice. What makes the combination of three.js and Elm ports a problem. Is it just the number of them you have to write, or is there some other pain point?
Re:Which Programming Languages Are Functional? by typon on Thursday December 31, 2015 @09:23AM (#10817636)
Yea essentially its a matter of scale. three.js is not a small library by any means and I'm using a lot of the features. I tries to use:https://github.com/seliopou/elm-d3

as my guide. I think it just comes down to "I don't have time to rewrite bindings for an entire API right now" because ports require you to really understand what's going on. There's no shotgun method of converting an entire API.

Another reason I gave up is that Purescript does have three.js bindings.

Re:Which Programming Languages Are Functional? by innocentoldguy on Monday January 04, 2016 @11:45AM (#10836575)
Yeah, that makes sense. Thank you for the information.