Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lua (The programming language) is very well written and well worth reading and understanding.

http://www.lua.org/



I have to disagree. The language spec and the docs on the Lua website are well written but the VM itself is a mess. It's a trainwreck of ambiguously named variables, minimal documentation, and overuse of macros to force inline code.

The Lua VM is a good example of something that isn't well written from a reading / understanding point of view, but is something that is well written from the 'it works' point of view.


Here are the source code reading order recommendations by Mike Pall (the author of LuaJIT).

http://www.reddit.com/r/programming/comments/63hth/ask_reddi...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: