Skip to content

Conversation

@valukianov
Copy link

No description provided.

@RussDragon
Copy link
Contributor

ПП

Линейные коллекции (в смысле `ipairs`) допускается называть с суффиксом _list в
случаях, когда нужно особо подчеркнуть линейность.

Имя булевой переменной, обычно, is_* (are_*, has_* и проч. формы to be), have_*,

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.

возможно, их здесь вообще лучше выделить в ` ?

##Циклы
## Циклы

* Запрещается использовать `ipairs()`. Вместо него — numeric for.

Choose a reason for hiding this comment

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

numeric for - выделить

Copy link
Author

Choose a reason for hiding this comment

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

"numeric for" это же вроде термин, а не название команды. Поэтому и не выделил его.

## Циклы

* Запрещается использовать `ipairs()`. Вместо него — numeric for.

Choose a reason for hiding this comment

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

в строках 499 и далее, где начинается
с 1. Мотивация: идиома языка, в Lua считают с 1. - я бы выделила единицы и нули. а то нули на нуди не похожи

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.

3 participants