The translation was automatically locked due to following alerts: Could not merge the repository.
Loading…
None
String updated in the repository testing_project / Documentation: dev_guide/lua_style_guide — Russian |
Glossary
| English | Russian | ||
|---|---|---|---|
| No related strings found in the glossary. | |||
None
if (a == true and b == false) or (a == false and b == true) then
<...>
end
-- Bad
if a == true and b == false or a == false and b == true then
<...>
end
-- Good but not explicit
if a ^ b == true then
end
<...>
end -- хорошо
if a == true and b == false or a == false and b == true then
<...>
end -- плохо
if a ^ b == true then
end -- хорошо, но не явно