Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
I7: Organising source code
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Peter  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 21:57
Newsgroups: rec.arts.int-fiction
From: Peter <peter...@igrin.co.nz>
Date: Mon, 9 Nov 2009 13:57:25 -0800 (PST)
Local: Mon 9 Nov 2009 21:57
Subject: I7: Organising source code
In section 2.5 of the Inform 7 documentation, it says:

"Once the source grows beyond 1000 words or so, it can all too easily
become disorganised, and by the time it reaches the size of a novella
it can be difficult to find things."

The documentation then advocates the use of headings to organise
source code.

Can anyone point me at an exemplar which shows good use of headings
for source code organisation?

MTIA

Regards,
Peter

Whangarei, New Zealand


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Temple  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 22:40
Newsgroups: rec.arts.int-fiction
From: "Erik Temple" <ek.tem...@gmail.com>
Date: Mon, 09 Nov 2009 16:40:42 -0600
Local: Mon 9 Nov 2009 22:40
Subject: Re: I7: Organising source code

On Mon, 09 Nov 2009 15:57:25 -0600, Peter <peter...@igrin.co.nz> wrote:
> The documentation then advocates the use of headings to organise
> source code.

> Can anyone point me at an exemplar which shows good use of headings
> for source code organisation?

There are six medium to long games here:

http://inform7.com/learn/complete-examples/

They were written by the developers of Inform 7 and should be reasonably  
good exemplars of how to organize code. Ultimately, this will be a largely  
personal thing anyway, but these are probably a great place to start.

If you're wanting to write extensions, then code organization becomes a  
bit of a different beast, because you should also take into account the  
ease with which others can modify your code (e.g., by replacing bits they  
need to change), as well as laying it out logically for consumption by  
others. I think Michael Callaghan, for one, does a marvelous job of  
arranging extensions in a way that is easy to both digest and to hack  
around with.

--Erik


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google