Am Fr., 29. Aug. 2025 um 19:01 Uhr schrieb Родион Горковенко
<
rodio...@gmail.com>:
>
>Main motivation was to get a bit acquainted with the source code.
... but this sonds like a quite challeging "acquanting startup" :).
... better try to do some really useful meta-"classes" for your users,
or then in advanced level some more challenging multi-tasking
(yielding) apporaches... .
... if you say, that your users do not like "code compatibility" with
Python/C, you should better also describe a bit the "nature of your
users" - what sort of programming are the mostly interested in? You
have to see that a VERY main advantage of Lua is, that it does
CIRCUMVENT the tricky coding of C, and that it can be used also by
more "simple thinking" people quite easily. e. g "more simple
electricdians" or programming starters.
Main things are, that it e. g. avoids the CRAZY C operators like &&,
|| or and and or, which are extremely difficult fo coding beginners,
also their difference to & and | in the "bit wolrd". Also of course
that you easily implement script programming features in any larger
software with minimum code print, and that you can easily implement
sandboxing applications - this all does NOT work with C (I do not know
python in detail, but i think also not wiht Python).
Such "abbreviation things" like += are somehow nice for "lazy tipping
code experts", but the are not really important, and if you really
want them, you could just implement some function "addto(...)" or
similar. You have to see further mainly, that the "=" operator in Lua
is MUCH more powerful than in C (also Python I assume), as it allows
assignment of mutliple arguments in one operation... .