[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is string always same as number? (the consistency of lua)
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 10 Feb 2011 12:10:52 +0200
On Thu, Feb 10, 2011 at 12:07 PM, Axel Kittenberger <email@example.com> wrote:
> Java is not strong typed, but weaked typed. Its static typed tough
> (contrary to dynamic).
I'd be curious what a language has to do to be strongly typed by this
> Lua is dynamic+weak.
A variable always contains a definite value type. Unlike OOP
languages, all object types collapse into either table or metadata.
PS. old macho programmer joke "strong typing is for people with weak memories"