Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution functions naming #140

Open
v-kolesnikov opened this issue Mar 4, 2016 · 0 comments
Open

Solution functions naming #140

v-kolesnikov opened this issue Mar 4, 2016 · 0 comments

Comments

@v-kolesnikov
Copy link
Owner

Во всех файлах решений где есть несколько версий функций, переименовать их по следующей схеме:

(def foo foo-optimize)

; Прямые копии из книги
(defn foo-recursive [])
(defn foo-canonical [])

; Оптимизированные
(defn foo-iterative [])
(defn foo-optimize [])

Соответсвенно тестировать нужно все функции. Для последующего использования выбирать оптимальную и делать для неё ссылку.

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

No branches or pull requests

1 participant