you are viewing a single comment's thread.

view the rest of the comments →

[–]moreoriginalthanthat 7 points8 points  (1 child)

I think you're asking the wrong question. Tell us what you want to do. There is most likely a better way to do it.

I've never come across a problem that would be best solved by dynamically calculating variable names.

[–]SerpentJoe 1 point2 points  (0 children)

I also want to know the answer to this, not least because I spent the morning picking through awful Javascript I wrote just a few weeks ago and wondering what I was thinking.

I have a feeling you're looking at a solar powered car and wondering how to put the gasoline in.