4 ms·
I spent a fair amount of time dabbling with FRP - for example, wrote a Pong for the web using SodiumFRP and Purescript[0] imho FRP is absolutely elegant and wo
by dakom 7y ago
I spent a fair amount of time dabbling with FRP - for example, wrote a Pong for the web using SodiumFRP and Purescript[0]
imho FRP is absolutely elegant and wonderful when it all comes together. The difficulty, I found, is iterating and hacking away in order to discover what the end result was meant to be all along. In that respect FRP does slow down development time (at least in my hands. Maybe those with more expertise could iterate faster).
I'd imagine that even in that scenario it could be fruitful to use something less robust for prototyping, and then implement it with FRP for a maintainable release version that's easier to reason about.
[0] https://github.com/dakom/frpong https://github.com/dakom/frpong
- iamwil 7y agoWhat did you find that you had to hack away? Was it notions of how to do things from your previous experience as a programmer? Or was it more specific to the domain problem at hand? If it's the latter, then I'd argue that's part of the exploration of the problem you're trying to solve, no?
- dakom 7y agoHmmm good question! I can't say for sure - I guess it was a bit of both. In either case, I found it's faster to play around with changes in other approaches, though another way of phrasing that could be that it's easier to break things too :)