Juan-Carlos Gandhi (
juan_gandhi) wrote2014-05-04 11:41 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
the essence of non-functional programming...
... is passing parameters via "common variables", imitating "environment", which they are on most occasions not.
This is unavoidable if you have functions 100 lines long; you have those variables keeping this and that... then you split the code, but you have to keep those "shared variables", so there.
They are just parameters, you know. If you think of them this way, your architecture becomes clean and clear.
This is unavoidable if you have functions 100 lines long; you have those variables keeping this and that... then you split the code, but you have to keep those "shared variables", so there.
They are just parameters, you know. If you think of them this way, your architecture becomes clean and clear.
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
Не очень внимательно пока читал, но показалось, что банальный цикл, и вуаля, имеем висящий в памяти синглтончик на Scala. :) Он отвечает на запросы. Всё как у людей.
no subject
на хаскеле всяких стейт машин написано два миллиона, а может и больше. скала гораздо ближе к промышленности, на ней академические задачи мало кто решает