Skip to content

This is solution from me#1

Open
vvalgis wants to merge 2 commits intohexlet-exercises:masterfrom
vvalgis:master
Open

This is solution from me#1
vvalgis wants to merge 2 commits intohexlet-exercises:masterfrom
vvalgis:master

Conversation

@vvalgis
Copy link
Copy Markdown

@vvalgis vvalgis commented Jul 13, 2015

It would be interesting for me to hear any comments

Comment thread solutions/vvalgis.js Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это императивщина ;)

@vvalgis
Copy link
Copy Markdown
Author

vvalgis commented Jul 13, 2015

А так больше похоже? :)

@mokevnin
Copy link
Copy Markdown
Contributor

Ох, там же было почти все хорошо, а сейчас на код смотреть страшно). Функциональный подход выражается в том что вы никогда не меняете состояние. В предыдущем примере у вас был инкремент, а остальное все вполне ок.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants