Since this is an academic environment I'm going to correct you and say that classes don't use functions, they use methods
every definition of a method ive read have "sub process" or "function" in the definition. its a function defined in/by the class.
which means that they aren't necessarily sequential elements in memory, they do not have a fixed size
arrays are not always immutable like tupples are source
the semantics are not nearly as important as the concepts im trying to get across. you're just going to confuse poor u/RawStanky
Sorry about that, but these distinctions must be made.
why though? ..theres no difference in the concepts here. an array is a list of things. it can be mutable or immutable depending on the language. the functions are close enough to be considered equivalent.
Since this is an academic environment
riiight...
Do not delete your posts! Your problem may be solved, but others who have similar problems could profit from the solution/discussion in the thread. Use the "solved" flair instead. No Rewards: You may not ask for or offer payment when giving or receiving help. Good Content: Any external resources linked to should be up-to-date and correct. Good Comments: Abusive, racist, or derogatory comments towards individuals or groups are not permitted. No Referral Links: Do not post referral links to Amazon or other sites. No Complete Solutions: Do not give out complete solutions. Guide the OP to the solution, but do not solve it for them. No piracy: Do not ask for or post links to pirated or illegal material.