Skip to content
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

Йода-синтаксис #291

Open
sfaqer opened this issue Aug 1, 2019 · 8 comments · May be fixed by #603
Open

Йода-синтаксис #291

sfaqer opened this issue Aug 1, 2019 · 8 comments · May be fixed by #603
Labels
component/diagnostics Доработка / создание диагностики good first issue Good for newcomers

Comments

@sfaqer
Copy link
Member

sfaqer commented Aug 1, 2019

// Плохо:
Если 0 = Сумма Тогда

// Хорошо:
Если Сумма = 0 Тогда
@nixel2007
Copy link
Member

Литерал слева, переменная справа?

@sfaqer
Copy link
Member Author

sfaqer commented Aug 1, 2019

@nixel2007, Да.

@atai
Copy link

atai commented Aug 1, 2019

good first issue?

@nixel2007 nixel2007 added component/diagnostics Доработка / создание диагностики good first issue Good for newcomers labels Aug 1, 2019
@nixel2007
Copy link
Member

@atai да, не очень сложная. Но было бы здорово найти примеры/спеку в других языках

@sfaqer
Copy link
Member Author

sfaqer commented Aug 1, 2019

@atai
Copy link

atai commented Aug 1, 2019

Попробую выпилить.

@asosnoviy
Copy link
Member

В статье пишут что это хорошо. А чем плохо это в 1с?

@sfaqer
Copy link
Member Author

sfaqer commented Aug 1, 2019

В статье пишут про достоинства и недостатки, нюанс в том, что достоинства только для сиподобных языков, а нам остаются одни недостатки

@asosnoviy asosnoviy linked a pull request Nov 6, 2019 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/diagnostics Доработка / создание диагностики good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants