Lua 的metatable 并不只是为了OO 而存在,但Lua 的面向对象机理,prototype based object orientation,的确是通过metatable 而实现的。 简单来说,prototype based OO ...
確定! 回上一頁