Skip to content

Commit

Permalink
Updating constructors design.md because it was a copy of another conc…
Browse files Browse the repository at this point in the history
…ept exercise
  • Loading branch information
manumafe98 committed Feb 1, 2024
1 parent 55fb677 commit 5091313
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions exercises/concept/need-for-speed/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,25 @@

## Learning objectives

- Know what classes are.
- Know what encapsulation is.
- Know what fields are.
- Know how to create an object.
- Know how to update state through methods.
- Know about the `void` type.
- Know what constructors are.
- Know how to create a constructor.
- Know how to initialize a new instance of a class.
- Know how to differentiate them with normal methods.

## Out of scope

- Reference equality.
- Constructors.
- Interfaces.
- Inheritance.
- Finalizers.
- Method overloading.
- Loops.
- No arguments constructor.

## Concepts

- `classes`: know what classes are; know what encapsulation is; know what fields are; know how to create an object; know how to update state through methods; know about the `void` type.
- `constructors`: Know how to create `constructors` and what they are.

## Prerequisites

- `basics`: know how to define a basic class with basic methods.
- `strings`: know how to do basic string interpolation.
- `numbers`: know how to compare numbers.
- `conditionals`: know how to do conditional logic.
- `classes`: know how classes work.

## Analyzer

Expand Down

0 comments on commit 5091313

Please sign in to comment.