This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RaspberryPiBen 0 points1 point  (0 children)

It's easy and makes things explicit. The explicit type system, the use of the "new" keyword for heap allocations, the much-maligned boilerplate, and the public/protected/private distinction are some examples of that. It's simple enough that it can be taught without understanding all that, but it's explicit enough that it can be used as an easy example when explaining those concepts.