RE: Spill it, bob!

new topic     » topic index » view thread      » older message » newer message

>===== Original Message From tone.skoda at zapo.net =====
>>----- Original Message -----
>>From: <euphoria at carlw.legend.uk.com>
>> If all your source is in one file, how can you edit different parts of it
>> simultaneously?
>By using bookmarks; ctrl+F2 = set/clear bookmark, F2 = next bookmark,
>shift+F2 = prev bookmark, ctrl+shift+F2 = clear all bookmarks.
>I use them all the time while programming in DevStudio.

Please correct me if I'm wrong Carl (and I've been know to make that mistake!) 
but I think Carl's point was how do several people in a project team work on a 
program if the whole program source is in one huge single source file?  If the 
file is split into function areas and these separate files "included" into a 
"main" program file then the task of assigning improvements to the code to 
separate individuals is at least a possibility.  Yes it needs to be carefully 
managed, yes it can go wrong and yes there are software versioning control 
tools to help you avoid such pitfalls.

If you want to put all your program source into one big file then please go 
ahead.  In one way it is easier to distribute.  However as the program 
projects you work on get bigger and bigger and you want to start to reuse code 
from previous projects the ability of spliting a program source into chunks 
becomes more attractive (well it does to me anyway).  Also when you want to 
assign other bits of program development to other people then managing the 
edits is easier if the program is in "chunks".

The "divide and conquer" strategy in computing applies just as much to solving 
the problem at hand as it does to managing your source code.

Your milage may vary.  I know mine does - on each trip infact smile

Regards,

FP.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu