4 ms·
I can see a few cases where that depends... Really simple languages: Ruling out meta-programming is really going to limit you in Lua for example. Just being ab
by sebstefan 2y ago
I can see a few cases where that depends...
Really simple languages: Ruling out meta-programming is really going to limit you in Lua for example. Just being able to do `mySocket:close()` instead of `Socket.close(mySocket)` involves meta-programming.
Older languages: For C++ the "simple" features are going to include raw pointers and macros. Maybe it's not so bad to allow smart pointers and templates to avoid those
- wruza 2y agoBoth of these examples are examples of an under-programmed core though. Lua is notorious for lacking batteries, so everyone has to reinvent their own. There’s literally no serious Lua program without some sort of classes, but they still resist adding them into lauxlib.