-
Notifications
You must be signed in to change notification settings - Fork 70
Conversation
honest-hrundel
commented
Nov 1, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 1, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 1, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 16 из 18
honest-hrundel
commented
Nov 1, 2016
🍅 Пройдено тестов 17 из 18
honest-hrundel
commented
Nov 10, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 10, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 10, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 10, 2016
🍏 Пройдено тестов 15 из 15
honest-hrundel
commented
Nov 10, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 10, 2016
🍏 Пройдено тестов 15 из 15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
object.assign в данной задаче использовать нельзя. Предлагается написать свой
Dodo888
commented
Nov 10, 2016
Почему не хочешь пользоваться локальным линтером? Это быстрее и удобнее
Dodo888
commented
Nov 10, 2016
Остались ещё неисправленные замечания.
Dodo888
commented
Nov 10, 2016
🚀
@msmirnov
msmirnov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В целом, код непонятный и трудночитаемый. Посмотри гайды (https://github.com/urfu-2016/guides/blob/master/codestyle/js.md) и попробуй упростить.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Присоединяюсь к вопросу
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В данной задаче не используем Object.assign()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
хорошо.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Всё, что делается в этой функции можно реализовать с помощью .reduce()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
сделал.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Так лучше не писать, это нечитаемый код
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
согласен, исправил.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вместо listOfArrays.length === 0 можно просто писать listOfArrays.length
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!listOfArrays.length. сделал.
msmirnov
commented
Nov 13, 2016
🍅
honest-hrundel
commented
Nov 19, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 19, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 19, 2016
🍅 Не пройден линтинг или базовые тесты
honest-hrundel
commented
Nov 19, 2016
🍏 Пройдено тестов 15 из 15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему бы в этой функции тоже не использовать reduce?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=== не нужно
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лишний пробел. Плюс тут тоже можно reduce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не понял, зачем здесь эта константа? Учитывая, что поле ASCENDING даже не используется. Я бы избавился от неё.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Object.assign() нельзя
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Обзательно ли здесь приведение к строке? Кажется, localeCompare сделаем всё за нас.
msmirnov
commented
Nov 20, 2016
🍅
No description provided.