Sorry I'm looking a bit at Yanfly's scripts to learn how to do stuff.
I see this code:
Stumbled upon this while looking how to set default values for function parameters.
I see this code:
Basically he wants to create a new object if it is not already initialized. However, if for some strange reason the Yanfly.Param would evaluate as false. Wouldn't it be slightly better to:
Of course this is an insanely strange scenario. But wouldn't this be very slightly better?
Stumbled upon this while looking how to set default values for function parameters.