Page 1 of 1

Lol, no C++.

Posted: Fri May 21, 2010 12:14 am
by Th3xpl0iT
I noticed there aren't a lot of bots written in C++. Why is that?

Posted: Fri May 21, 2010 2:18 am
by xander
Because other languages, such as Lua, are easier to work with. They do not require compiling, and are less strict with variable types, for instance.


Posted: Fri May 21, 2010 5:43 am
by ChemicalRascal
However, by coding in a language other than C or C++, you're opening yourself up for issues, as the system is (arguably) more complicated, and that you're using a third-party's work, you've no guarantee that everything is going to work perfectly.

That said, the rapid prototyping that Lua offers, as well as the quality of Luabot (though, in my opinion, if he had commented his code more it might have made my job a bit easier, but that's irrelevant) does maximise the pros and minimise the cons of using the scripting language.

Posted: Fri May 21, 2010 11:59 pm
by Th3xpl0iT
Thanks for the great answers, that answers my question. This can be locked now.