abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Duncan" <stephen.dun...@gmail.com>
Subject Re: API Refactoring
Date Thu, 22 Jun 2006 22:19:05 GMT
Well, not literally, I suppose.  But I mean that there are several
methods with the same name, one that takes in only the content, and
the rest that take content & a MIME type.  I prefer the "extra"
parameter to come after the common one.  That's what I meant.

-Stephen

On 6/22/06, James M Snell <jasnell@gmail.com> wrote:
> For the methods that accept MimeType, it is not optional.  That is, if
> @type is not "text", "html" or "xhtml", a mime type MUST be specified.
>
> - James
>
> Stephen Duncan wrote:
> > Seems like the MimeType should be the second parameter, not the first.
> > At least, that's my preferred style; optional parameters are tacked
> > on after, required ones...
> >
> > - Stephen
> >
>


-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Mime
View raw message