oop tutorials

Jesse Phillips jessekphillips at gmail.com
Mon Mar 3 22:50:24 PST 2008


On Tue, 04 Mar 2008 06:03:48 +0100, Saaa wrote:

> Thank you for your suggestions.
>  Looking at the list tells me that I need a lot of help (I barely know
>  what
> half of them mean :)
> 
> What are the 2/4 asterisks for? Is that how you suggest I should build
> of previous tutorials?
> I think the list you gave would work just nice in a build-from-previous
> setup or maybe I just don't understand it enough.
> 
> I'll write a class today (after reading about them on digitalmars)
> 
> For now I will only use D1 and phobos but its all open for additions
> ofcourse.
> 
> **signal & slots
> 
> 
>> I don't have any suggestions for interesting programs, but some ideas
>> of how you may want to cover it. One thing you may want to do is not
>> only build off past examples, but to show improvements with newly
>> introduced tools.
>>
>> ** Start by writing a class.
>> **** Static data of a class
>> ** Then extend the class for more use. **** Keywords private,
>> protected, public should be discussed in their relationship to modules.
>> ** Introduce interfaces, maybe turn the first class into an interface
>> ** Concentrate on function overriding and down/up casting. ** Inner
>> classes
>> ** Operator overloading
>>
>> I don't see templates as part of classes but still might be a good
>> thing to cover.

I was trying to do bullet points, doing just a single will case bolding 
to happen (at least for me) and the 4 would be as sub of the 2.

Anyway I tried to keep to the building off of the previous, but depending 
on the project example it may not be possible all the way through, thus 
needing to start a new example (which would be fine).

I figured that it would also serve as a good list of things that you 
should look for when learning.


More information about the Digitalmars-d-learn mailing list