4 ms·
Also, > unfamiliar semantics: no classes, use tables, start indexing at 1 and other oddities, just as being able to call functions with the wrong number of arg
by pwdisswordfish8 5y ago
Also,
> unfamiliar semantics: no classes, use tables, start indexing at 1 and other oddities, just as being able to call functions with the wrong number of arguments and returning nil on the way
Other than 1-based indexing, those semantics should be very familiar from JavaScript.
- germandiago 5y agoIt still feels weird to me to call table an array, a hash table and do classes via metatables in very different ways. For sure it is powerful. But it does not fullfill well the zero-friction I was looking for when integrating. You have to change a bit your mindset when integrating and using this stuff. In Wren you have lists, which are basically arrays and dictionaries, ranges and all things I already know how to use from Python/C++. That said, inheritance is not working smooth and ChaiScript does not even have inheritance itself. But for my purposes a class, concurrency and familiar data structures and patters was enough.
- dahfizz 5y agoJavascript is not known for its intuitive and sane design, and certainly not from the perspective of C/C++ devs
- tines 5y agoThe criterion was "familiar", which is nothing if not Javascript -- nobody said anything about intuitive or sane :)