Introduction to Functional Classes in CS1

07/26/2022
by   Marco T. Morazán, et al.
0

Students introduced to programming using a design-based approach and a functional programming language become familiar with first-class functions. They rarely, however, connect first-class functions to objects and object-oriented program design. This is a missed opportunity because students inevitably go on to courses using an object-oriented programming language. This article describes how students are introduced to objects within the setting of a design-based introduction to programming that uses a functional language. The methodology exposes students to interfaces, classes, objects, and polymorphic dispatch. Initial student feedback suggests that students benefit from the approach.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/26/2022

Design of Classes I

The use of functional programming languages in the first programming cou...
research
04/01/2021

Immutability and Design Patterns in Ruby

Functional Programming has seen a resurgence in interest in the last few...
research
08/14/2023

Disco: A Functional Programming Language for Discrete Mathematics

Disco is a pure, strict, statically typed functional programming languag...
research
11/29/2016

The Bricklayer Ecosystem - Art, Math, and Code

This paper describes the Bricklayer Ecosystem - a freely-available onlin...
research
02/09/2023

COOLIO: A Language Support Extension for the Classroom Object Oriented Language

COOL is an Object-Oriented programming language used to teach compiler d...
research
05/14/2018

Vector Programming Using Structural Recursion

Vector programming is an important topic in many Introduction to Compute...
research
06/27/2019

Vector Programming Using Generative Recursion

Vector programming is an important topic in many Introduction to Compute...

Please sign up or login with your details

Forgot password? Click here to reset