Re: [AS2] Deprecate "url" in favor of "id" and "self" link relations

On Thu, Sep 4, 2014 at 8:40 AM, Nick Jennings <nick@silverbucket.net> wrote:
[snip]
>
>
> Is it just me, or does the second example seem more concise, for both humans
> and machines?
>

For me, the first is more concise, but it's a subjective view. We both
may be suffering from a familiarity bias [1]

[1] http://en.wikipedia.org/wiki/Familiarity_heuristic

> In the first example, it seems the property names themselves indicate type
> (or do you not need to know that, for example `uri` is HTML,  or
> `alternate.id` is a PDF, etc. ?).

The property names indicate purpose, not type. The "mediaType"
property provides a hint about the type.

- James

>
> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to activity-streams+unsubscribe@googlegroups.com.
> To post to this group, send email to activity-streams@googlegroups.com.
> Visit this group at http://groups.google.com/group/activity-streams.
> For more options, visit https://groups.google.com/d/optout.

Received on Thursday, 4 September 2014 16:15:55 UTC