Jump to content




[LUA]Unexpected symbol?

lua

25 replies to this topic

#21 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 29 January 2013 - 02:00 PM

View PostKingdaro, on 29 January 2013 - 12:27 PM, said:

View PostTheOriginalBIT, on 29 January 2013 - 11:17 AM, said:

View PostHellkid98, on 29 January 2013 - 07:13 AM, said:

since lua is Type sensitive!
Case sensitive*
Lua is not at all Type sensitive. Sometimes I wish it was. But it's not.
But type sensitivity is a nightmare! D:
it can really save you though. it lets you know where you went wrong faster

#22 ChunLing

  • Members
  • 2,027 posts

Posted 29 January 2013 - 06:07 PM

I personally do prefer to be aware of and conserve type when it won't clutter a scope with too many identifiers. And I do find that this makes some tasks easier to track.

#23 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 29 January 2013 - 06:08 PM

You could always create a type sensitive table? :D

#24 ChunLing

  • Members
  • 2,027 posts

Posted 29 January 2013 - 06:12 PM

I personally find it sufficient to pretend that Lua is type sensitive, particularly as I often do wish to reuse an identifier for a different type.

#25 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 29 January 2013 - 07:07 PM

i guess the only real benefit to type sensitivity is the possibility of function overloading, which is nice.

BTDubs we got way off topic

#26 dan14941

  • Members
  • 45 posts

Posted 01 February 2013 - 12:30 PM

View PostremiX, on 29 January 2013 - 01:38 AM, said:

Did you change B )/> to b )
oops B is b\





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users