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

Pavel Kitaiharodski #38

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Pavel Kitaiharodski #38

wants to merge 5 commits into from

Conversation

Htonic
Copy link

@Htonic Htonic commented May 21, 2019

Working version of project.

@Htonic Htonic closed this May 21, 2019
@Htonic
Copy link
Author

Htonic commented May 21, 2019

ups

@Htonic Htonic reopened this May 21, 2019
@Htonic Htonic closed this May 21, 2019
@Htonic Htonic reopened this May 21, 2019
@Htonic Htonic changed the title [WIP] Pavel Kitaiharodski Pavel Kitaiharodski May 22, 2019
@Htonic
Copy link
Author

Htonic commented May 22, 2019

Simple is better than complex.
Now is better than never.

element = list_of_elements[index]
temp = str(element)
if element is "+" or element is "-":
if previously is "+" or previously is "-":
Copy link
Collaborator

Choose a reason for hiding this comment

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

Зачем проверять через is?

and returns the operation itself
"""
dictionary = {
'+': lambda a, b: a + b,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Сохранять объекты анонимных функций - не лучша практика.

@dzhigailo
Copy link
Collaborator

  • описание коммита должно давать понимание что было изменено в рамках этого коммита. Данное описание I don't know, maybe it should be here не является таковым.
  • большое количество вложенных конструкций if, elif, else делает код трудночитаемым.

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

Successfully merging this pull request may close these issues.

3 participants