General information
Category:
Coding, syntax & commands
Environment versions
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Virtual environment:
VMWare
>>Why use classes? Procedural code gets the job done, right?
>
>Classes are for when there's data that must travel with the code. No point using a class for a bunch of functions that don't share data.
Disagree. Polymorphism, inheritance, hidden/protected functions, all unrelated to stored data within the class.
There are many reasons to use classes. Many capabilities there which are exposed. Not all of them are desirable all of the time.
"Not everyone is from Boston, John!"
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only