by cristinacordova on 2/15/22, 11:45 PM with 1 comments
by ggm on 2/15/22, 11:55 PM
Of course you can code in the imperative mode in an FP and in fact, some people do teach this for the benefit of having strongly typed, and functional language inside the model. If you learn the type model and the REPL then the rest can follow naturally.
My employer had one or two webapps written in elm and they worked well. The stakeholder hated the L&F so as usual, they died on issues tangential to the coding language but there was a valid point made by other coders: If you go this far off the common path, you make support burdens for other people. I think this is part of why FP for web is so thin on the ground: it requires substantial cross group participation to succeed at scale, a lone-wolf won't get you a good outcome