3 ms·
7k is just a random number. At that number, it can be a lot of lines or very few - depends on what your scripting language can do. It's certainly not a selling
by ComputerGuru 12y ago
7k is just a random number. At that number, it can be a lot of lines or very few - depends on what your scripting language can do. It's certainly not a selling point!
- yodsanklai 12y agothere are many such headlines on HN. "XXX in Y lines of code". I can't see in what respect the number of lines of code matters. Regardless of what the scripting language actually does, I'd rather have more lines of readable and maintainable code, than less lines of obfuscated code.
- kbenson 12y agoI think it's an important signifier for how easily you could read, and hopefully grok, the entire codebase. At 7k lines, I, who have no experience writing a scripting language, might be enticed to take a look. At 100k lines, I'm not sure where to start, and thus likely won't.
- giancarlostoro 12y agoI agree it isn't, however it has been noted here that Valve has used Squirrel in some of their games including L4D2 and Portal 2. Also it has been used in FF Crystal Chronicles: My Life As A King as well. So much like Lua, it is used in video game development as an embedded scripting language.