[erlang-questions] Process scope variable
Thu Feb 19 15:47:34 CET 2015
I agree Imants
You are delaying the inevitable - if you wish to use a functional programming ecosystem like Erlang/OTP you will need to learn to write code in a functional style and refactor it.
It is perfectly possible to write good FP code that is easy to refactor - the problem is that you don’t know how. And it sounds like you have inherited an OO-flavoured Erlang codebase...
Focus on learning that - rather than mating the OO goat to the FP camel - you will have a better time of it…
> Le 19 févr. 2015 à 14:43, Garry Hodgson <garry@REDACTED> a écrit :
> On 2/19/15 8:49 AM, Imants Cekusins wrote:
>> Erlang is good and convenient in many respects. If Java were better suited, I would use Java of course. In this case Erlang is more suitable and convenient. For me, this approach speeds up code delivery and code readability. I do not anticipate bug increase.
> erlang is not java, and FP is not OO.
> you seem to be going through a lot of effort
> to use erlang in a way that violates fundamental
> notions of FP. if that works for you, great, but
> i doubt you're going to convert anyone here.
> erlang-questions mailing list
More information about the erlang-questions