Skip to content

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