+ 1

create a same function over and over again in a collaborative code

in the real collaborative programming environment, is there such a thing like function duplicate, or someone make a function that already exist but with a different name? yeah there is a documentation , if you work on huge project like software development, is something like create a same function over and over again do exist?

20th Oct 2017, 9:11 AM
Jensen Raylight
Jensen Raylight - avatar
2 Antworten
+ 5
There exist something that called fuction overloading where you create fuctions which do the same task but just with different type of parameters. You have also generic fuction which can do same task with different type of parameters. But create same function that do the same thing more than once not make any sense. Main point of fuctions is that you not have to write same code over and over, because you create fuction and call it as many time as you need.
12th Nov 2017, 2:15 PM
Vukan
Vukan - avatar
0
but how we knew our work mate didnt create a same function like other people do? there a hundred and thousand of function, yet sometime we forget in the past we already create the function
17th Dec 2017, 7:56 PM
Jensen Raylight
Jensen Raylight - avatar