|
![](/i/fill.gif) |
On 14/04/2012 06:41 PM, Warp wrote:
> Orchid Win7 v1<voi### [at] dev null> wrote:
>> Sure, maybe you could learn BBC BASIC in 21 days. But C++? I doubt it.
>
> It depends on the depth of your C++ understanding that you want to
> achieve.
> OTOH, you can learn to make simple (and safe, although not necessarily
> efficient) programs in that time, with the proper teacher.
Well, maybe. My initial impressions of this book are not great.
>> Riiiight. So, let's see, on day #6 you start writing and using classes -
>> a fairly advanced topic.
>
> Not really. Classes are the most basic element of OO programming (and
> also the most intuitive part), so IMO they should be taught on the *first*
> day. (This does not include inheritance and dynamic binding, though. That
> can wait.)
I guess it depends. You can start at the top, explaining OO theory and
then working down to how you write code with it. Or you can start with
writing simple procedural code, working up to using functions, and then
using classes and other OO features. Either way would be logical. The
way this book seems to do everything is to just jumble it all up in
fairly random order.
> Inheritance is much less useful than people thought 20 years ago
> (it still has its uses in *some* situations, but much less than predicted).
My university lecturer asserted that "inheritance is overused, and
collaboration is underused".
Post a reply to this message
|
![](/i/fill.gif) |