Efficient Summary calculation method or approach?
I have an object hierarchy with a number of leaf nodes that will contribute to summary values for the parent object (specifically: project cost and square footage).
What is the opposite of initialize (or init)? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Best Method of function parameter validation
I’ve been dabbling with the idea of creating my own CMS for the experience and because it would be fun to run my website off my own code base.
Method flags as arguments or as member variables?
I think the title “Method flags as arguments or as member variables?” may be suboptimal, but as I’m missing any better terminology atm., here goes:
How to prevent duplicate data access methods that retrieve similar data?
In almost every project I work on with a team, the same problem seems to creep in. Someone writes UI code that needs data and writes a data access method:
Should I have a separate method for Update(), Insert(), etc., or have a generic Query() that would be able to handle all of these? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Should I have a separate method for Update(), Insert(), etc., or have a generic Query() that would be able to handle all of these? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Do we ethically have the right to use the MAC Address for verification purposes?
I am writing a program, or starting at the very beginning of it, and I am thinking of purchase verification systems as a final step. I will be catering to Macs, PCs, and possibly Linux if all is said and done. I will also be programming this for smartphones as well using C++ and Objective-C. (I am writing a blueprint before going head first into it)
Is there a difference between arguments and parameters?
It might be like this: Parameter means from the callers POV and arguments mean inside the procedure, or other way round.
Are long methods always bad? [closed]
Closed 5 years ago.