Alienhead Posted March 19, 2022 Share Posted March 19, 2022 Hey guys, I did a search for this and was amazed I found no results returned for Super Strict in lua. I realize lua has a non-declaration policy but I find that ludicrous. In my years of coding I rely on Strict/Super=. My question; I'm working with : http://love2d.org/forums/viewtopic.php?p=237861 SS script, I got it require"" and loads with no errors.. However, its not picking up any undefined or unused variables. What are you guys using or doing for a Strict or Super Strict policy in Lua ? Thanks Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Josh Posted March 19, 2022 Share Posted March 19, 2022 Lua is dynamically typed. The upside is you can add variables very loosely so it's easy to add new features to your game objects. The downside is complete intellisense is not really possible, and it can be easy to make mistakes. I think Lua makes simple projects easier and it probably makes complex projects more difficult. C++, on the other hand, is statically typed, so you will get a compiler error if you try to use something that isn't there. The downside is this can make simple projects a bit cumbersome to get started. 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.