Click here to Skip to main content
14,931,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:40
MemberBrian_TheLion3-Jun-19 12:40 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan1-Jun-19 21:46
mveRichard MacCutchan1-Jun-19 21:46 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 0:15
MemberBrian_TheLion2-Jun-19 0:15 
GeneralRe: My thoughts on C# Pin
Mycroft Holmes2-Jun-19 13:36
professionalMycroft Holmes2-Jun-19 13:36 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:22
MemberBrian_TheLion2-Jun-19 15:22 
GeneralRe: My thoughts on C# Pin
Mycroft Holmes2-Jun-19 15:58
professionalMycroft Holmes2-Jun-19 15:58 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 16:50
MemberBrian_TheLion2-Jun-19 16:50 
GeneralRe: My thoughts on C# Pin
jsc423-Jun-19 23:18
professionaljsc423-Jun-19 23:18 
Brian_TheLion wrote:
Having used programs like Quick Basic over the years makes it more difficult to break free from the procedure programming method

I, too, started on procedural languages like FORTRAN, COBOL and BASIC and initially found the Object Oriented way seemed artificial, clunky and back-to-front. Now, having spent several years in an OO environment, I can see the benefits and would never go back to the old ways. It can be hard to unlearn things that work and to undo your mental images of how things interact, but it is worth it in the long run.

I'd suggest that you park your adventure game and write something from scratch, forcing yourself to use the OO paradigm (horrible word) and then evaluate what worked well and what seem odd. Then revisit your adventure game looking at the objects (players, inventory items, rooms) and seeing how they map onto classes and then look at their properties (inventory items are-in rooms, players -have- inventory items, players are-in rooms, rooms are-adjacent-to- other rooms) then look at methods that change the properties (players move-to rooms).
GeneralRe: My thoughts on C# Pin
Brian_TheLion4-Jun-19 17:48
MemberBrian_TheLion4-Jun-19 17:48 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:32
MemberBrian_TheLion3-Jun-19 12:32 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan2-Jun-19 21:58
mveRichard MacCutchan2-Jun-19 21:58 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:44
MemberBrian_TheLion3-Jun-19 12:44 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan3-Jun-19 20:56
mveRichard MacCutchan3-Jun-19 20:56 
GeneralRe: My thoughts on C# Pin
Brian_TheLion4-Jun-19 14:29
MemberBrian_TheLion4-Jun-19 14:29 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan4-Jun-19 21:00
mveRichard MacCutchan4-Jun-19 21:00 
GeneralRe: My thoughts on C# Pin
#realJSOP2-Jun-19 4:40
mva#realJSOP2-Jun-19 4:40 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan2-Jun-19 21:45
mveRichard MacCutchan2-Jun-19 21:45 
GeneralRe: My thoughts on C# Pin
F-ES Sitecore2-Jun-19 22:11
mveF-ES Sitecore2-Jun-19 22:11 
GeneralRe: My thoughts on C# Pin
#realJSOP3-Jun-19 0:10
mva#realJSOP3-Jun-19 0:10 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak3-Jun-19 2:41
mveDave Kreskowiak3-Jun-19 2:41 
GeneralRe: My thoughts on C# Pin
#realJSOP2-Jun-19 4:19
mva#realJSOP2-Jun-19 4:19 
GeneralRe: My thoughts on C# Pin
jschell2-Jun-19 8:49
Memberjschell2-Jun-19 8:49 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 19:46
MemberBrian_TheLion2-Jun-19 19:46 
GeneralRe: My thoughts on C# Pin
F-ES Sitecore2-Jun-19 23:19
mveF-ES Sitecore2-Jun-19 23:19 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:26
MemberBrian_TheLion3-Jun-19 12:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.