HaloO, Carl Mäsak wrote:
By the way, I hope it's possible to make the assignment `$x = 3` to the read-only variable $x a compile-time error.
I hope so, too. The variable and its read-only constraint is known at compile time and *not* dependend on the value inside. How it came in there in the first place is left to the runtime binding ;) Regards, TSa. -- "The unavoidable price of reliability is simplicity" -- C.A.R. Hoare "Simplicity does not precede complexity, but follows it." -- A.J. Perlis 1 + 2 + 3 + 4 + ... = -1/12 -- Srinivasa Ramanujan