Re: a question about this book
- From: Sam sgentile <sam@xxxxxxxxxx>
- Date: Fri, 06 May 2005 07:01:28 -0700
Hello Josh,
No, you don't need to step into that code. That is the whole idea behind Encapsulation which basically abstrats some chunk of functionality into a box with well defined inputs/outputs (an interface contract). That beiong said, it's going to be really hard without some basic understanding of OO concepts since the .NET Framework is completly OO oriented. So, I have already suggested Petzold's Programmin In The Key of C# in another thread that teaches programming from the ground up and Part IV teaches OO from the ground up.
This intro is in C++ but some of intro may help http://www.zib.de/Visual/people/mueller/Course/Tutorial/tutorial.html
Also: http://www.softwaredesign.com/objects.html http://www.firststep.com.au/education/solid_ground/oo.html
Sam Gentile Chief .NET Architect Adesso Systems, Inc INETA Speaker, Microsoft MVP - .NET/C# Blog: http://samgentile.com/blog/
J> If the code is written OO you dont have to step into all of thatIt seems like in order to understand an OO program, you have to jump around in the code to see everything.
J> code. For instance, heres some code.
J> J> String a = "some text"'
J> DataTable myTable = UserBusinessObject.GetBlankTable();
J> int b = 23;
J> Now when reading through this code you wouldn't have to follow the
J> flow into "UserBusinessObject.GetBlankTable()" because it's self
J> explanatory, and provided there is no error when you make the call
J> you dont have to go look in there.
J> J> OO code should be broken down into compact self contained units so
J> that reading the code is simpler than reading procedureal code.
J> Effectively OO can simply be considered an enhanced GOSUB
J> technology.
J>
.
- Follow-Ups:
- Re: a question about this book
- From: John Salerno
- Re: a question about this book
- References:
- Re: a question about this book
- From: Josh
- Re: a question about this book
- Prev by Date: Delete from multiline textbox
- Next by Date: Re: New programmer - any good advice?
- Previous by thread: Re: a question about this book
- Next by thread: Re: a question about this book
- Index(es):
Relevant Pages
|