> use "this" scope to store data. Which is bad because that's a public
> scope (so all your data is exposed).
>
> CFMX 6.1 introduced "variables" scope - which behaves much like
> protected data in Java - and the best practice these days is to avoid
> "this" scope (for all the same reasons that OO programmers everywhere
> are taught to avoid public instance data).
>
> So the book has a lot of code examples that use "this" scope instead
> of the more correct (in 6.1 onward) "variables" scope.
>
> Does that explain it?
Oh absolutely. You know, I didn't know that.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

