[haiku-development] Re: [GSoC 2010] Services Kit API draft

  • From: David McPaul <dlmcpaul@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 16 Apr 2010 10:05:31 +1000

On 16 April 2010 09:48, Adrien Destugues <pulkomandy@xxxxxxxxx> wrote:
>
>> Second, for some reason SendPaste and RetreivePaste are very
>> confusing
>> to me.  Paste is a verb.  Is there some reason not to call these
>> functions WriteData and ReadData?  Unless it is some web jargon I
>> don't know?
>
> These are for pasting some data to dedicated sites like 
> http://haiku.pastebin.com/
> . So yes, such a thg is called a "Paste".

A abstract API should not concern itself with a a specific web sites
naming conventions.

The concept is read and write data, only pastebin calls it SendPaste
and RetrievePaste

There can be a userland implementation that does this (or an add-on)


-- 
Cheers
David

Other related posts: