3 ms·
Just want to say the language looks beautifully simple. I love how you can move a function definition from a class to outside of a class or even into an object
by jafitc 5y ago
Just want to say the language looks beautifully simple.
I love how you can move a function definition from a class to outside of a class or even into an object “literal” without breaking syntax.
And same with variables, you can restructure it from a global into a class property or as a property of an object literal.
It looks even more intuitive and forgiving than lua and lua was already a joy
- winter_blue 5y agoThe docs, for anyone wondering: https://microstudio.dev/documentation/ https://microstudio.dev/documentation/
- jafitc 5y agoThank you for the link! Yes and if you click “microScript programming” in the menu you are taken to the language itself. Didn’t find a way to link to that part but it’s just one click away.
- scotty79 5y ago> I love how you can move a function definition from a class to outside of a class or even into an object “literal” without breaking syntax. Actually more important is, that you can move them into a class of object literal. And way more languages should be designed with that in mind. > And same with variables, you can restructure it from a global into a class property or as a property of an object literal. This allows you to just start to write code as a script, and then effortlessly partition it into functions, classes and files as need arises. Another thing I'd like to see more in languages is keeping consistent interface across various data structures. You should be able to swap out array for a set, hash table, or even something weird without rewriting half of your code that touches it.