Closed rusty-tendrils closed 2 years ago
Is returning an Array
(instead of a String
) a good idea when the input is a String
?
I cannot imagine what it could be used for in the context of games.
Well, I think String
may not be used as often and it's probably specific, but it's a sequence type so better to have support for it. See "Completeness" development philosophy in Goost.
Therefore, having the method return an Array
is better in terms of auto-completion and documentation for common cases. Besides, this is what Python does as well it seems:
Thanks and congrats for your first contribution!
Thanks, I learnt a lot.
Nice! I like the cummulative bool approach. I'm still here just migrated all my data to a brand new account (with the same name) :)
One of the features approved in https://github.com/goostengine/goost/issues/7