Jump to content

Super Strict


Alienhead
 Share

Recommended Posts

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

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

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.

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...