3 ms·
The best way is to find a functional programmer mentor. First write an app the "normal" way. Then ask them to review your code and see how they would write it i
by meowzero 6y ago
The best way is to find a functional programmer mentor. First write an app the "normal" way. Then ask them to review your code and see how they would write it in a more functional way. That's the best way that helped me grok functional programming the fastest.
If you can't find a mentor, try creating an app with a lot of constraints: don't change state, make most functions referentially transparent, etc.
- tcbasche 6y ago> If you can't find a mentor, try creating an app with a lot of constraints: don't change state, make most functions referentially transparent, etc. Damn, this is a great idea. Reminds of the Stravinsky quote: 'The more constraints one imposes, the more one frees one's self. And the arbitrariness of the constraint serves only to obtain precision of execution.'