-
Notifications
You must be signed in to change notification settings - Fork 229
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
Бабинцев Григорий #204
base: master
Are you sure you want to change the base?
Бабинцев Григорий #204
Conversation
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.
Еще пожелание. Когда выкладываешь PR, думай о том, как его будут ревьюить. В данном случае, у тебя изменения по текущей задаче и код прошлой задачи лежат в одном коммите. Нет никакой возможности посмотреть diff именно по текущей задаче - это неудобно.
|
||
return ConvertToWords(wordsCounts); | ||
} | ||
catch (Exception ex) |
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.
Не вижу тут причин для исключений
|
||
return stack; | ||
} | ||
catch (Exception ex) |
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.
Аналогично, вроде неоткуда тут исключениям взяться
return input.Then(inp => Of(() => continuation(inp))); | ||
} | ||
|
||
//public static Result<None> Then<TInput, TOutput>( |
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.
Не тащи в Pull Request-ы закомментированный код
{ | ||
public Result<IEnumerable<string>> ReadDataFromFile(string path) | ||
{ | ||
//if(!File.Exists(path)) |
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.
Не тащи в Pull Request-ы закомментированный код.
Это мусор, который в лучшем случае затрудняет чтение. В худшем производит вопросы, почему код в репозитории закомментирован и надо ли его раскомментировать
Homework