justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: What's the practical usage of private and public classes in C++/C#? I mean, why we want to hide or show them?
Asked by Abhi (182.69.107.x) on January 3 2023, 9:48am
Reply on January 3 2023, 1:00pm:
    It’s not as much about hiding complexity as it is about enforcing the use of the recommended interface. E.g. keep the calling code from mistakenly using the internal implementation details…

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS