Overall I feel pretty comfortable with objects in general. As is often the case with me, I tend to over complicate code and try to make things way more robust than what is actually being as for. As such, I was trying to nest objects in arrays and all sorts of craziness that may work had I better coding chops, but at the end of the day, hard coding the ingredients and then building the object out with predefined bits makes it more straight forward. I was attempting to make an object that could accept new ingredients to it so you could build the recipe from scratch. The solution made sense to me, and I am not flummoxed by objects...just the crazy way I tend to try things.
Overall I feel pretty comfortable with objects in general. As is often the case with me, I tend to over complicate code and try to make things way more robust than what is actually being as for. As such, I was trying to nest objects in arrays and all sorts of craziness that may work had I better coding chops, but at the end of the day, hard coding the ingredients and then building the object out with predefined bits makes it more straight forward. I was attempting to make an object that could accept new ingredients to it so you could build the recipe from scratch. The solution made sense to me, and I am not flummoxed by objects...just the crazy way I tend to try things.