Why are the Python Docs for Server Side Extensions so Lacking...Please Fix
Posted: 01 Oct 2020, 00:50
I have been developing using Smartfox for months now, using both Python and AS extensions, and this has caused me no end of hassle.
Case in point, look up Zone.getRooms() in AS in the AS docs. Now try to do the same for Python. Oh, it's not there? What's worse, only the _server class is documented for python, you're apparently SOL if you want to get info about room, zone, etc methods for Python. And please don't tell me the AS docs are similar enough to be used for python: take a look at _server.createRoom() for both AS and Python....they don't even have the same number of parameters.
For the love of God, if full python docs actually exist somewhere, please let me know where to find them.....otherwise, someone at SmartFox please fill in the HUGE gaps in python docs. If you're not going to fully support python with complete documentation, then you should remove python support altogether, so that new devs dont make the mistake of starting with Python, then realizing later down the road (like I did) that SmartFox is treating python like the red-headed step-child, at least as far as documentation is concerned.
EDIT: after drilling down on the AS docs, I just noticed that although the Zone methods are listed, there is NO detail (parameters, return values). C'mon guys, your smattering of example extensions is not a good excuse to skimp on the documentation.
Case in point, look up Zone.getRooms() in AS in the AS docs. Now try to do the same for Python. Oh, it's not there? What's worse, only the _server class is documented for python, you're apparently SOL if you want to get info about room, zone, etc methods for Python. And please don't tell me the AS docs are similar enough to be used for python: take a look at _server.createRoom() for both AS and Python....they don't even have the same number of parameters.
For the love of God, if full python docs actually exist somewhere, please let me know where to find them.....otherwise, someone at SmartFox please fill in the HUGE gaps in python docs. If you're not going to fully support python with complete documentation, then you should remove python support altogether, so that new devs dont make the mistake of starting with Python, then realizing later down the road (like I did) that SmartFox is treating python like the red-headed step-child, at least as far as documentation is concerned.
EDIT: after drilling down on the AS docs, I just noticed that although the Zone methods are listed, there is NO detail (parameters, return values). C'mon guys, your smattering of example extensions is not a good excuse to skimp on the documentation.