Lively Groups: Shared Behavior in a World of Objects Without Classes or Prototypes

Felgentreff, T., Lincke, J., Hirschfeld, R. and Thamsen, L. (2015) Lively Groups: Shared Behavior in a World of Objects Without Classes or Prototypes. In: Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH '15) - Workshop on Future Programming (FPW 2015), Pittsburgh, PA, USA, 26-26 Oct 2015, pp. 15-22. ISBN 9781450339056 (doi: 10.1145/2846656.2846659)

[img] Text
268126.pdf - Accepted Version
Restricted to Repository staff only

892kB

Abstract

Development environments which aim to provide short feedback loops to developers must strike a balance between immediacy and the ability to abstract and reuse behavioral modules. The Lively Kernel, a self-supporting, browser-based environment for explorative development supports standard object-oriented programming with classes or prototypes, but also a more immediate, object-centric approach for modifying and programming visible objects directly. This allows users to quickly create graphical prototypes with concrete objects. However, when developing with the object-centric approach, sharing behavior between similar objects becomes cumbersome. Developers must choose to either abstract behavior into classes, scatter code across collaborating objects, or to manually copy code between multiple objects. That is, they must choose between less concrete development, reduced maintainability, or code duplication. In this paper, we propose Lively Groups, an extension to the object-centric development tools of Lively to work on multiple concrete objects. In our approach, developers may dynamically group live objects that share behavior using tags. They can then modify and program such groups as if they were single objects. Our approach scales the Lively Kernel’s explorative development approach from one to many objects, while preserving the maintainability of abstractions and the immediacy of concrete objects.

Item Type:Conference Proceedings
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Thamsen, Dr Lauritz
Authors: Felgentreff, T., Lincke, J., Hirschfeld, R., and Thamsen, L.
College/School:College of Science and Engineering > School of Computing Science
Publisher:ACM
ISBN:9781450339056

University Staff: Request a correction | Enlighten Editors: Update this record