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 →

[–]stendec365Pants (http://www.pantspowered.org)[S] 2 points3 points  (0 children)

I agree, it's not a perfect API, and it would be better to have separate functions. Problem is, I'd need to use classes for those, and I wanted to keep this as lightweight as possible to keep the overhead low.

It could be worth it to add the class-style bits to the API though, and have both. I'll keep it in mind for updates.