Making generic functions useable in Smalltalk

  • Authors:
  • Timmy Douglas

  • Affiliations:
  • Georgia Institute of Technology, Atlanta, GA

  • Venue:
  • ACM-SE 45 Proceedings of the 45th annual southeast regional conference
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

There have traditionally been two approaches to object orientation with respect to defining code to operate on objects. The first and more common one is message passing. The other is generic functions which use multiple dispatch (also known as multimethods). While Smalltalk provides one of the simplest implementations of a message passing system, there are some circumstances where generic functions provide a more concise solution to the problem. The goals of this project are two-fold: first, to take a look at how to implement generic functions in Smalltalk alongside the existing message passing system, and secondly, to look into how to nicely integrate the infrastructure for creating generic functions into the Squeak programming environment.