I never understood this:
if (game.Workspace.Base.Tag.Value == 'Made by UltraUnitMode') then game.Workspace.Base.Tag.Value == 'Made by No One' end
There is not a good reason for the ()
in a condition in Lua. They are redundant and don't make things clearer. Perhaps it makes it easier to add logical operators like not
and and
to it, but that's probably not worth it.
However, many other programming languages require ()
around conditions.
It's most likely a hold-over from the author's experience in that language.
It's unnecessary in Lua, and is usually unnecessary in those lanuages. Go, which has a similar syntax to C, C++, Java, JavaScript did get rid of the ()
(and actually made them illegal).