Article View: borland.public.cppbuilder.nativeapi
Article #3434Re: Crazy CopyFile
From: Andrue Cope [TeamB]
Date: Thu, 08 Jun 2006 10:36
Date: Thu, 08 Jun 2006 10:36
47 lines
2616 bytes
2616 bytes
Hans Galema wrote: > That is just a choice I suppose. > You could as well have decided always without. Or is there more > behind it ? It's part of our coding standards. Shortage of resources (ie;two people) and size of code base (~20MB) plus the nature of our work environment (task driven and frequently interrupted) mean that coding and data standards are important. If a bug stops an engineer getting their work done we have to be able to switch track and fix it as quickly as possible. We don't have the time to relearn minutae of source code nor to document every last detail. Another reason is that we have had to implement path parsing functions and by coming up with a definitive set of rules it's easier. We tend to favour pedantic algorithms in our code. That way (in theory) the state of an executing process is more easily predicted. FWIW: 4.2.1. Definition:Object name A sequence of any characters except �\� and �:�. 4.2.2. Definition:Volume ID An object name and trailing ':'. 4.2.3. Definition:Directory path A series of object names all of them having a trailing '\'. 4.2.4. Definition:File name An object name appearing at the end of a directory path. 4.2.5. Definition:File name extension (informational only) An object name that follows the rightmost �.� in a file name. 4.2.6. Definition:Stream name An object name following a file name and separated by ':'. A fully qualified file path is therefore: [<Volume ID>]\<directory path><filename>[:<stream name>] -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<4487fda0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com> <4487e3bb$1@newsgroups.borland.com> <4487eb27$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2704f07ba1df9321 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: Re: Crazy CopyFile Newsgroups: borland.public.cppbuilder.nativeapi References: <4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com> <4487e3bb$1@newsgroups.borland.com> <4487eb27$1@newsgroups.borland.com> Date: Thu, 8 Jun 2006 11:36:16 +0100 User-Agent: XanaNews/1.18.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 217.207.223.34 Message-ID: <4487fda0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1149762976 217.207.223.34 (8 Jun 2006 03:36:16 -0700) Lines: 47 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail