i like this idea (i posted some thoughts on it in the blog, but it's not approved yet as of this writing)<div><br>in short, i suggested extending the idea to make it more a) generalized, b) simple, c) intuitive, and d) flexible.</div>
<div><br></div><div>so instead of just using $ for attributes, you could use it anywhere you define or reference a name.</div><div><br></div><div>as in..</div><div><br></div><div>class $a: pass</div><div><br></div><div>or</div>
<div><br></div><div>$a = 1</div><div><br></div><div>also, you might want to do something like this</div><div>b = ["zero", "one"]</div><div><br></div><div>$b[0] = 0</div><div><br></div><div>but that's ambiguous, so you need some sort of grouping mechanism</div>
<div>like for example</div><div><br></div><div>${b[0]} = 0</div><div><br></div><div>although "$(b[0]) = 0" might be just as reasonable.</div><div><br></div><div>also maybe:</div><div><br></div><div>b = 'bar'</div>
<div><br></div><div>foo$b = 'baz'</div><div>print foobar</div><div>#prints baz</div><div><br></div><div>${b}foo = 'baz'</div><div>print barfoo </div><div>#prints baz</div><div><div><br></div><div>$foo{b}baz = 1</div>
<div>print foobarbaz</div><div>#prints 1</div><div><br></div><div>but i know that last idea is getting way into php-land and probably isn't (quote-unquote) necessary.</div><div><br></div><div><br></div><div>i know a lot of people would probably hate this idea with a passion.  i tend to be more liberal when it comes to adding concision and dynamicism in a language, although that could be just because it's too tempting; i.e., maybe it's only because somebody drew a line somewhere that we're coding in Python instead of K.</div>
<div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>