BlitzUI question!

Miscellaneous Forums/Blitz Showcase/BlitzUI question!

Fuller, why did you choose to use strings for all your message types? I would have used constants. If I'm not mistaken, Blitz has a limitation on the number of strings you can have, and in addition they will all appear in your EXE bloating it's size and making it easier to modify it. (though I am not the paranoid type that concerns myself with whether people can modify my game)

In addition, you have to transfer those strings to the functions every time you call an event, which if you call a function tousands of times for whatever reason, could cost you.

The only logical reason I can see to use strings is that it saves you the effort of defining all your constants.

One other additional benefit of using constants would be that if one uses a third party utility to have explicit variable declatartions, a mistyped constant would pop up an error whereas a mistyped string would not.