|
Re: why encapsulation is required?
FIRST is supposed to be a simulation of a real engineering experience. real engineers use encapsulation because it is more secure against malicious programmers and their programs. This is also why proper memory allocation is important as well. Keeping code secure from outside influence is important so that
A) the code doesn't interfere with other processes on the same machine
B) outside programmers can't access it
C) it allows for a more modular type of code where simple function calls change not entire blocks of code.
__________________
3.1415926535897932384626433832
|