On 22 Apr 2007, at 22:25, realbasic-nug- [EMAIL PROTECTED] wrote: > Subject: Re: Saving a Path? > To: REALbasic NUG <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On Apr 22, 2007, at 12:06 PM, Theodore H. Smith wrote: > >>> On 22-Apr-07, at 6:09 AM, Theodore H. Smith wrote: >>> >>>>> OK, its path time, again. >>>>> >>>>> I know that absolute paths are "evil" (Joe's trademark?). >>>> >>>> >>>> So use relative paths instead :) Unix style. >>>> >>>> Relative paths, unlike aliases, work across downloads, copies, >>>> disks. >>>> >>>> Let's say I copy some folders from one disk to another. Relative >>>> paths still work. Aliases don't. >>>> >>>> Relative paths are clearly superior to aliases. And they can be >>>> stored as strings, which is handy. >>> >>> Relative paths will be just as "bad" as absolute paths ever were for >>> all the same reasons >> >> Except that they won't be as bad. >> >> And I've already stated reasons why they won't. Which you ignored. >> >> The email you replied to contained the disproof of the statement you >> made. > > > First, aliases can be stored as strings, just like relative paths.
Strings are strings. So there's no interconversion necessary. > Second, aliases can be made relative, just like relative paths. Relative paths are relative... > Third, this all depends on the platform. Unlike relative paths which don't. > For Mac OS, you can > frequently move an alias from one disk to another, and it will still > work. And Win32, Linux? And "Frequently" for me is "never". I can't remember one time where an alias worked when I copied it from one disk to another. It always asked me to refer to the original on another disk, when there was a perfectly good copy locally! > And, fourth, for the suggested example of storing recently- > opened documents which you ignored, relative paths don't make sense. Alright, recent documents could use aliases. Would be handy when the user moves his document around. Most stuff I come across however, relative paths are better. Relative paths are for more misson critical stuff, like for source code. > Aliases, on the other hand, are perfectly suited to the task. Agreed. -- http://elfdata.com/plugin/ "String processing, done right" _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
