Re: C++ in kernel (was Re: exception in a device driver)

Chip Salzenberg (chip@perlsupport.com)
Sat, 16 Jan 1999 03:23:52 -0500


According to Theodore Y. Ts'o:
> It's ironic, really. One of the claimed features of C++ is that it
> has ways of enforcing abstractions by not allowing programmers to
> access private class variables.

You have greatly misunderstood the purpose of access control.

It is simply a way for the programmer to *express* himself more fully
on the subject of what should be touched when. Expressiveness is good
-- especially expressiveness that can be checked mechanically (i.e. as
part of the language).

It's not about trust. It's about making onesself clear.

-- 
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/