Wrong?  Dude, wtf?  Why don't you drink some coffee and take a look at what 
the hell VB is doing (ASP, whatever).

It's calling a constructor, passing in a value.. and that value turns into 
an associative array.. but... the assignment is backwards, and you assign 
the return value of the constructor instance (that wasn't created because 
you didn't use new) to an associate array that acts like a getter setter?

Oh... ok... lemme just uh... go do a line of coke, and that makes perfect 
sense!

I can see why you are posting about this on Flashcoders so late at night 
about brackets vs. parens.  If the above makes sense to VB guyz, then hell 
yeah, do whatever you can to make it easier for them to transition to 
clarity of code.

:: puts gun to head ::

----- Original Message ----- 
From: "g.wygonik" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, December 30, 2005 12:48 AM
Subject: Re: [Flashcoders] Singleton as associative array - yucky icky?


lol - we'll... EXACTLY!!!

it's late - it looks okay - it works... but it just seems "wrong" to
hijack a class instance into an associative array without any warning.

eh - maybe i'll just let it go and hope nobody notices ;-)

g.

On 12/29/05, JesterXL <[EMAIL PROTECTED]> wrote:
> ...dude, in all fairness, it's 12:41 in the morning, but to me, that looks
> exactly like a static variable... like you had before.
>
> Session("foo") = "bar" ' store the value
>
> Same as:
>
> Session["foo"] = "bar"
>
> ...I'd stick with the static bro if your goal is to satisfy the 
> dot-netterz.

--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to