T
T
tuccar2015-01-10 05:09:11
Programming
tuccar, 2015-01-10 05:09:11

Is it hard to switch from functional to imperative programming?

................................................. ...........

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
yttrium, 2015-01-10
@yttrium

Hard. There is a shortage of various goodies. There is discomfort from the written imperative code, the realization that I wrote a lot of extra code that doesn’t really do anything begins to torment me.

G
globuser, 2015-01-10
@globuzer

You can adapt to everything, adapt, get used to it. It's a matter of time and breaking one's stereotypes, habits, the main thing is the goal. The timing will be different for everyone. You can go and change the style of programming. That's why you and a programmer can and should program - in any situation, at any time, any technology, anything! You have to be able to adapt!

P
Puma Thailand, 2015-01-10
@opium

Easily

D
defuz, 2015-01-10
@defuz

Looking at what to switch to. Functional languages ​​are usually more expressive than some imperative languages. Because of this, a downgrade is felt if you switch to a non-expressive imperative language (Python/Ruby/Scala/...). As for the paradigm shift, the transition is quite easy: where there used to be closures, now you need to create objects, where there was passing along the state chain, now you can get by with a local mutable variable, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question