Good evening scholars,
I am needing my discussion posts completed; due date is 11/05/2015 (Thursday) by 7pm Pacific Time.
Here is the topic for the discussion question which needs to be a minimum of 1 paragraph (2 paragraph max)
Our friends at Stack Overflow are having a lively debate on the advantages of Function (Method) Overloading. Read through the discussion here.
What side are you on? What do you think the advantages of method overloading are? How would you use method overloading when writing a program? Critique or defend your classmates' positions.
Next, you will need to reply back to these user’s discussion posts as well in seperate paragraph (minimum of 1 paragraph) (2 paragraph max)
I work a lot with databases. The first advantage I think of overloading is sorting out the data. If the program is looking for a trend or different trends, I would think overloading would be an advantage. The short paper we just wrote for the police station would be a prime example. The classes I had were people, property and crime. Say you want to find a pattern, so the method would be: findTrend(day of week, time of day, what was stolen) or findTrend(time of day, location, date). You name the method the same because you are pulling from the pool of data but looking at the data from different perspectives. For me this kind of method overloading would act as a description in the same way "//" for a comment.
#2 (me ov-ma da)
Advantages of method overloading are a function used to save memory space, consistency, and readability. A method would be locating an SNHU student they can be located by Student Name ( Jim Jones) the system prompts 2 Jim Jones the next option is DOB (01/11/1997) the system prompts 2 Jim Jones with the same DOB, the next option would be SS# or Student Id to complete filtering process to locate the correct student from a large database.
|Due By (Pacific Time)
||11/05/2015 07:00 pm