Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Object Orieniented Programminig

Thread Tools
 
Search this Thread
 
Old 16 June 2009, 10:33 AM
  #1  
urban
Scooby Regular
Thread Starter
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default Object Orieniented Programminig

Guys,

Can anyone recommended a good book with regards to this, maybe using C#.

I saw a Sam's teach yourself C# in 21 days which looks alright.

I'm not a novice with regards to programming - just used a different language which is not OO unfortunately.

Just something which helps with methods and classes.

Thanks,
Shaun
Old 16 June 2009, 10:36 AM
  #2  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

I'd avoid the Sam's books personally. They tend to be very "lightweight", and not entirely correct. The Wrox books are much better...

Professional C# 2008 (Wrox Professional Guides): Christian Nagel: Amazon.co.uk: Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson: Books
Old 16 June 2009, 12:47 PM
  #3  
OverEasy
BANNED
 
OverEasy's Avatar
 
Join Date: Jun 2009
Location: I am not the user known as SunnySideUp. Apologies for any confusion caused. Hope this is clear.
Posts: 78
Likes: 0
Received 0 Likes on 0 Posts
Default

There's a bit more to object orientated programming than learning the language. It requires a different mindset / way of looking at things.

Tend to use a lot of UML now to visualise our software before we ever start coding. Helps a lot
Old 16 June 2009, 01:10 PM
  #4  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

I do all that in my head, but it's a fair point
Old 16 June 2009, 01:54 PM
  #5  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

like Iain said, "in the head"

you're better off reading gang of four first, before getting into any bad habits lol

I am still an assembler coder at heart
Old 16 June 2009, 02:04 PM
  #6  
urban
Scooby Regular
Thread Starter
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default

I've no problem with the way of thinking.
In fact its quite a good way to work, break up certain bit of code into reuseable recallable sections.
Old 16 June 2009, 02:17 PM
  #7  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by urban
...break up certain bit of code into reuseable recallable sections
that's just modular coding and only a small part of OO.
Old 16 June 2009, 02:48 PM
  #8  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

Indeed, you can break up code like that just using good old fashioned procedural techniques. OO really comes into play when you start inheriting things, implementing interfaces, namespaces etc. Can get pretty complex when using c++, so c# (or Java) is a much easier way to get into this stuff
Old 16 June 2009, 02:52 PM
  #9  
OverEasy
BANNED
 
OverEasy's Avatar
 
Join Date: Jun 2009
Location: I am not the user known as SunnySideUp. Apologies for any confusion caused. Hope this is clear.
Posts: 78
Likes: 0
Received 0 Likes on 0 Posts
Default

Inheritance, abstraction, encapsulation, polymorphism.... etc
Old 16 June 2009, 03:16 PM
  #10  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

Hence my reference to reading up on Design Patterns
Old 16 June 2009, 04:14 PM
  #11  
urban
Scooby Regular
Thread Starter
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default

What i'm goin to be doing is working on a full OO system.
It already does full inheritance, polymorphism and uses a variation of C++/C# as its development language.

I quite like the concept of classes/method etc
As i've not developed using this before then OO is obviously very different with the points I've mentioned above.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
alcazar
Non Scooby Related
159
05 October 2015 08:37 PM
mike_nunan
Wheels, Tyres & Brakes
7
16 January 2014 04:22 AM
vmax
Non Scooby Related
2
24 August 2001 07:53 PM
SCOSaltire
ScoobyNet General
7
22 April 2001 08:05 AM



Quick Reply: Object Orieniented Programminig



All times are GMT +1. The time now is 09:11 AM.