Open GoogleCodeExporter opened 8 years ago
Just depends on what you're used to I guess. That style of class prefix is a
pretty common convention for mitigating naming conflicts. As for the packages,
are you suggesting "quickb2.objects.tangibles.qb2Body" instead of
"QuickB2.objects.tangibles.qb2Body". That change isn't such a big deal if it's
enough of an issue for people.
Thank you for your feedback, and I apologize for taking some time to get back
to you...I thought I had it set up to automatically notify me of new issues.
Original comment by doug...@gmail.com
on 20 Feb 2011 at 12:05
Hi,
thanks for commenting. I'm OK with having prefixes, but i think, the common
convention in AS3 (opposed to C++, as it seems) is, that classes always begin
with a capital letter and packages always with a lower-case letter. So i think,
i would propose:
quickb2.objects.tangibles.QB2Body
On the other hand, i understand that this would break compatibility with your
complete current API, so probably it is best to keep it like it is.
I recognize, that the flash port of box2d is following the same C++ style
conventions.
Original comment by sven.bu...@gmail.com
on 20 Feb 2011 at 11:34
Original issue reported on code.google.com by
sven.bu...@gmail.com
on 10 Feb 2011 at 4:29