| |
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 11 Oct 2014 08:12 PM |
Data manipulating
Useful for DataStore |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2014 08:21 PM |
There's no real use for metatables in Roblox. But they are quite fun to play with! |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2014 08:29 PM |
| Really? I always thought they were a bit useless... Now I have confirmation... |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2014 09:40 PM |
| It seems people use metatables instead of tables for no reason, I wonder why. |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2014 09:44 PM |
@star; no. have you ever seen anyone do this?
local tab = {}; setmetatable(tab, {1}); tab = getmetatable(tab);
that is just inefficient. people use it so they can use metamethods. there is no real use for that, though. most people don't use metamethods and get along just fine.
semicolons are love, semicolons are life |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2014 09:45 PM |
builder*
semicolons are love, semicolons are life |
|
|
| Report Abuse |
|
|