+ 1
data hiding
What is the work of " data hiding "?
4 Antworten
+ 5
Back in the old days most data was global modified everywhere. This lead to errors that where impossible to track down because you couldn't find the code screwing up the data. By hiding the data using getters and setters, you have one location that all modifications are done making it simple to find and fix the bad code.
+ 2
To prevent those same issues. All languages support bad coding practices. Some make them harder, but they don't force good techniques.
+ 1
John Wells is there any use of data hiding in today's world???
+ 1
John Wells thanks...😄😄😄