Re: [core] Comments on draft-bormann-core-links-json-01

Carsten Bormann <cabo@tzi.org> Mon, 30 July 2012 06:01 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D45721F852E for <core@ietfa.amsl.com>; Sun, 29 Jul 2012 23:01:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.249
X-Spam-Level:
X-Spam-Status: No, score=-106.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FVS-lw3HIqXN for <core@ietfa.amsl.com>; Sun, 29 Jul 2012 23:01:00 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id AE5FC21F851B for <core@ietf.org>; Sun, 29 Jul 2012 23:00:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6U60m8O024293; Mon, 30 Jul 2012 08:00:48 +0200 (CEST)
Received: from dhcp-428c.meeting.ietf.org (unknown [130.129.66.140]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 6658DDC9; Mon, 30 Jul 2012 08:00:47 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <3902E6E6-9667-44FF-B393-BF5F939EA1F8@sensinode.com>
Date: Sun, 29 Jul 2012 22:57:42 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <BED8E4A9-9E89-42DC-94C1-FBEA57C37DF9@tzi.org>
References: <3902E6E6-9667-44FF-B393-BF5F939EA1F8@sensinode.com>
To: Zach Shelby <zach@sensinode.com>
X-Mailer: Apple Mail (2.1485)
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] Comments on draft-bormann-core-links-json-01
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2012 06:01:01 -0000

On Jul 29, 2012, at 18:37, Zach Shelby <zach@sensinode.com> wrote:

> Do we want this JSON format to be a generic representation of RFC5988 Web Links, or is this something really only specific to the CoRE Link Format use of Web Linking? I think deciding on that scope would help close some of the open questions in the draft. Personally I find the later purpose really nice, but looking at the bigger picture this should probably be as generic as possible.

I think the guiding principle should (as in most protocol design be):

Generality is great if it costs nothing (or very, very little).
When generality starts to make things complex or lose some of the focused goodness of a proposal and it's not quite clear the the important use cases require this complexity, you are almost always better off doing the less general thing.

http://en.wikipedia.org/wiki/You_ain't_gonna_need_it

So, my questions would be:
-- Do we know about any complexity that would come from making this a general RFC5988 representation?
   (Such complexity may include the need for interfacing with other groups, which can slow us down unless we know how to do it efficiently.)
-- Do we lose something in the process?

If we can be reasonably sure both are not the case, we should go for the whole thing.

Grüße, Carsten