I could see this being used in a big is project. What are the drawbacks of using an object as your Frog constructor parameter instead of changing the signature each time you want to add a new property?
I would just do that too. If you have more than about 4 args, just pass in an object
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.