Skip to content

Савицких Антон#270

Open
Xineev wants to merge 5 commits intokontur-courses:masterfrom
Xineev:master
Open

Савицких Антон#270
Xineev wants to merge 5 commits intokontur-courses:masterfrom
Xineev:master

Conversation

@Xineev
Copy link

@Xineev Xineev commented Nov 14, 2025

Comment on lines 36 to 43

Choose a reason for hiding this comment

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

Можно более явную ошибку об отсутствии билдера или токенайзера

Choose a reason for hiding this comment

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

ok

Comment on lines 25 to 26

Choose a reason for hiding this comment

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

Можно сделать приватными readonly полями, думаю конвертер не подразумевает отдельное их использование в обход своей логики

Choose a reason for hiding this comment

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

ok

Comment on lines +13 to +17
List<string> TextToLines(string text);

List<Token> TokenizeLines(IEnumerable<string> lines);

List<Token> TokenizeLine(string line);

Choose a reason for hiding this comment

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

Методы нигде не используются, думаю они не должны торчать наружу

Choose a reason for hiding this comment

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

++

Comment on lines 29 to 37

Choose a reason for hiding this comment

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

Может вынести куда-нибудь в отдельный файл или в поля класса, всё равно он не изменяется

Choose a reason for hiding this comment

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

ok

Choose a reason for hiding this comment

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

Давай '_' в какие-нибудь константы markdown и в похожих местах

Choose a reason for hiding this comment

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

ok

Choose a reason for hiding this comment

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

Лишний пробел 👉👈

Choose a reason for hiding this comment

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

oki

Comment on lines 208 to 218

Choose a reason for hiding this comment

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

Можно тернарник, а то повторки

Comment on lines 284 to 306

Choose a reason for hiding this comment

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

Какие-то одинаковые методы

Comment on lines 186 to 219

Choose a reason for hiding this comment

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

Кажется можно один или два метода сделать и переиспользовать

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

Successfully merging this pull request may close these issues.

2 participants

Comments