Coexistence of functional and object-oriented paradigms

  • Authors:
  • Vijay Gehlot;Thomas Way;Frank Klassner

  • Affiliations:
  • Villanova University, Villanova, PA;Villanova University, Villanova, PA;Villanova University, Villanova, PA

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

"Objects-first" is a popular teaching approach in CS1/2 courses, particularly those designed around the Java programming language. Recently, theory-based criticisms of this approach have been used at some noteworthy universities to justify delaying object orientation to second year courses in favor of functional-based introductory curricula, and even treating object orientation as an optional advanced topic. In this paper we present a case for adopting a co-existential approach between object-orientation and functional programming based on the view that development of "computational thinking" skills should be a fundamental goal of CS1/2 courses. Towards this end, a tight relationship between ML and Java is explored and examined by means of several illustrative examples.