BooBoo design goal
Posted by
tremblin on 2024-12-01, 9:36pm
One of the goals of the API design is to use as few parameters as possible. So for example, instead of "sin dest num" it's "sin num" and the result is stored into num.
Well a few things slipped through I think, so I'll be changing a couple API. So far I've checked the Core documentation and there are 2 functions that will change, string_replace and get_full_path. I need to go over the game library and check if anything slipped through there.
Replies (4)
Posted by
tremblin on 2024-12-01, 9:38pm
There are a few exceptions but where it makes sense to me, that's how the API should be. For example "max dest a b c d e f g" could be "max a b c d e f g" with the results stored in a, but it makes less sense to me there.
Posted by
tremblin on 2024-12-01, 9:40pm
This has been planned for a while. I knew there would be a few changes, but it doesn't look major.
Posted by
tremblin on 2024-12-02, 12:54am
Those were the only 2 that I changed, and uploaded 2.2.13.
Posted by
tremblin on 2024-12-02, 1:40am
I also fixed some errors I found in the documentation.
Post a Reply
Please log in to reply.