Closed yuchi closed 10 years ago
yeah, this is cool idea.
Names must be different, otherwise hyperloop will go in infinite loop parsing the code. Sweet.js’ hygene should do the job.
Currently the uncasted value is not available for use. And I’m also casting to id
.
What do you think?
I sometime see that you need to explicitly cast things in their type (see https://github.com/appcelerator/hyperloop-ios/blob/bc3f69539f3fd65334bca6589b456537156e7096/examples/distanceTraveled/app.js#L40)
Should be this done automatically? I mean something like:
Is it the correct approach?
What do you think @infosia, @jhaynie?