From 1c0474e6375e71cbccf8ea7cc8afef4156dd3756 Mon Sep 17 00:00:00 2001 From: bergi Date: Fri, 25 Jan 2019 15:28:40 +0100 Subject: [PATCH] remove plain objects --- interface-spec.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/interface-spec.html b/interface-spec.html index 106dec0..441f90f 100644 --- a/interface-spec.html +++ b/interface-spec.html @@ -99,12 +99,10 @@

Design elements and principles

  • Instances of the interfaces created with different libraries should be interoperable.
  • Interfaces do not specify how instances are stored in memory.
  • Interfaces mandate specific pre-defined methods such as .equals().
  • -
  • Given the necessity of methods, plain objects (JSON) cannot be used.
  • Factory functions (e.g., quad()) or methods (e.g., store.createQuad()) create instances.
  • -
  • Should allow "upgrading" a plain object into a fully functional triple
  • Interfaces may have additional implementation specific properties.