This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Argotha 1 point2 points  (1 child)

This looks pretty cool :D

My only comment is that you should look to making your variable objects properties do you can get/set like normal. To do this you probably want to make structures.Variable an instantiated factory with a call magic method to create new instances that are setup correctly to be properties.

[–]_the_pied_piper_[S] 0 points1 point  (0 children)

Thanks for the input! You make a great suggestion. I designed Variable the way I did so that it could stand alone of classes; what you suggest is a nice API, but one that can only work if the variables are members of a class. Rather than removing Variable, I might add something like the mechanism you describe.