• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Libraries and effiency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libraries and effiency


  • Subject: Re: Libraries and effiency
  • From: Tommy Bollman <email@hidden>
  • Date: Wed, 11 Aug 2010 15:29:17 +0200

Hello

I admit the trailing colon to be an issue, I consequently never returns something with a trailing colon or slash.
There are great things about copying snippets or clippings as well. by snippet in this context I mean a single handler in a file, -I do it all the time, especially when there is something that shall ship. -I believe in self contained units of functionality.

Nowadays, I cut and paste code out of my libraries, -having only one place to go, and that is relieving.

The library loaders should also provide a "flattening"  thing like script debugger. So the stuff will work even after the next version of some library.


On 11 Aug 2010, at 14:39, Shane Stanley wrote:

> On 11/8/10 10:31 PM, "Tommy Bollman" <email@hidden> wrote:
>
>> The thing with libraries is that they may spare you for reinventing the wheel
>> each time, as there are much of the same things going on in all the scripts,
>> like finding the parent folder, or returning a file name, or checking if a
>> date is lesser than or greater than an other, and so on.
>
> So I make a dozen handlers for things like finding the parent folder. And
> when I want them, of course I can't remember their names, and then I can't
> remember whether they provide the trailing colon or not, so I open them and
> check the code, at which point I'm thinking copy and paste from my
> collection of snippets isn't such a bad scheme at all...
>
> --
> Shane Stanley <email@hidden>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>

Best regards



Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
	If an idea can survive a bureaucratic review
	and be implemented it wasn't worth doing.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Libraries and effiency (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Libraries and effiency
  • Next by Date: Re: Libraries and effiency
  • Previous by thread: Re: Libraries and effiency
  • Next by thread: Re: Libraries and effiency
  • Index(es):
    • Date
    • Thread