Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

What is the function of using methods when writing a complex program?

+2 votes
asked Aug 28, 2017 in CSC 285 (F17) by Dylan Hart (100 points)
recategorized Aug 29, 2017 by Forrest Stonedahl
Dylan -- why are you posting questions in the CSC 211 category?  Please post your questions in the CSC 285 category.  (I will recategorize this one.)

1 Answer

+1 vote

You will learn more about this later, but there are a lot more elements at play when creating a complex program. Think about it like when you create a game every action is defined. Those are methods, they are used everywhere and we use lots of tools to reduce redundency when using varing actions.

Methods are the meat to any program.

The key to "Complex Programs" is that it really is just as simple as what you are doing with methods now, but in a complex program you can expect thousands of lines or codes that you need to maintain. Soon you will learn later how to better organize your code and breakup parts so that your programs function, are robust, and reduce redundency.

answered Aug 28, 2017 by Daniel Zwiener (100 points)