Skip to content

References and _using_ existing classes can be introduced earlier, to make programs more interesting #70

Open
@hallvard

Description

@hallvard

My experience as a lecturer is that students get bored if we focus too much on primitive types. Some of Java's build in classes can be introduced earlier, without having to explain how to declare them. This will require explaining the concept of references and state, which is complex, but pretty important to get a grip on early.

String can be used to some extent, but instances with mutable state are also needed. In Python-based courses, lists are introduced early, and my experience is that Java's lists are intuitive enough to come pretty early, and easier to explain than arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions