Ok :). I use methods, of course. Trying to use them whenever a peace of code is used in more then one place. It is just hard to figure out how to do it (organizing the code and all, like should this...
Type: Posts; User: Kerr
Ok :). I use methods, of course. Trying to use them whenever a peace of code is used in more then one place. It is just hard to figure out how to do it (organizing the code and all, like should this...
Are you talking about methods when you say functions? Sorry, sometimes I get stuck on words :P.
Yeah, its just that I have no experience with writing modular code.
Do´h. Now why didnt I think of that, lol?!?!
Anyway, it was more or less meant as an example. Have had this issue before. The issue with duplicate code, that is. Like when you have two or more...
Hi all.
I have several times encountered this problem, but now I want to get to the bottom of it. Basically, if you have two methods that looks almost completely the same, aside from maybe one...