ChrisMAN Posted October 6, 2012 Share Posted October 6, 2012 I have been tempted by this for a while. http://moonscript.org/ https://github.com/leafo/moonscript It almost makes lua feel like a real language. http://snipplr.com/view/3750/awful-hack-to-perform-early-returns-in-lua/ Quote Link to comment Share on other sites More sharing options...
Daimour Posted October 6, 2012 Share Posted October 6, 2012 It almost makes lua feel like a real language. What's wrong with LUA? It's excellent language by itself without any sugar. Quote Link to comment Share on other sites More sharing options...
Rick Posted October 6, 2012 Share Posted October 6, 2012 I wish it was OO out of the box instead of what you have to do to get it to act OO. Other than that I like it. Quote Link to comment Share on other sites More sharing options...
ChrisMAN Posted October 6, 2012 Author Share Posted October 6, 2012 OO is kind of wierd. It uses prototypical inheritance through metatables. Classical inheritance is more obvious. Mixins an duct typing are kind of the preferred OO model in scripting languages any ways. I am a professional ruby developer. That is probably what makes me cranky. Ruby is such a joy to code in. I can't seem to get anything meaningful on one line. I miss good built in iterators. I havnt had to do much string manipulation yet but it looks really ugly. I am sitting at about 1500 lines of lua at the moment which would have been 600 lines of clear ruby. At least its not 5000 lines of c++. The things i have run into it so far. Arrays start at 1 cant return early w/o a hack really annoying to check false vs nil global variables by default no self asignment operators no ternary operators mixins + metatables break/continue is borked Quote Link to comment Share on other sites More sharing options...
Daimour Posted October 7, 2012 Share Posted October 7, 2012 That's true. Every language has its pros and cons. Don't forget about pros. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 10, 2012 Share Posted October 10, 2012 At some point, you've just got to buckle down and write the code. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ChrisMAN Posted October 12, 2012 Author Share Posted October 12, 2012 :shipit: Quote Link to comment Share on other sites More sharing options...
Josh Posted October 12, 2012 Share Posted October 12, 2012 lol Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.