Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3] Implement new Concept Exercise: extensions #409

Open
wneumann opened this issue Jun 18, 2020 · 0 comments
Open

[v3] Implement new Concept Exercise: extensions #409

wneumann opened this issue Jun 18, 2020 · 0 comments

Comments

@wneumann
Copy link
Contributor

This issue describes how to implement the extensions concept exercise for the Swift track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read the following documents:

Please also watch the following video:

Goal

This concept exercise should convey a basic understanding of how to write extensions in Swift.

Things to teach

  • Extension syntax
  • Adding computed properties
  • Adding initializers and methods
  • Adding types

Things not to teach

  • subscripts
  • protocol conformance
  • restricting extensions to specific types

Concepts

  • extensions

Prerequisites

  • structs-and-classes
  • properties
  • medhods
  • initialization

Resources to refer to

Hints

After

Representer

TBD

Analyzer

TBD

Implementing

See the Swift track implementation guide for guidance.

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

@nicolechalmers nicolechalmers changed the title [Swift] Implement new Concept Exercise: extensions [v3] Implement new Concept Exercise: extensions Jan 28, 2021
@nicolechalmers nicolechalmers transferred this issue from exercism/v3 Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant