dart-lang / dart-lang/language

Add interfaces support in addition to abstract classes

Open
#1,707 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TeX
Stars
2.9k
Forks
239
Avg merge
2d 18h
Merged PRs (30d)
14

Description

Hi. For the last few years I've been working with C# and now using Dart and Flutter in personal and job projects.
And I feel the need in the interfaces as the aspect of Dart language.
I understand, that abstract classes provides the similar ways to get the guaranties about the interaction interface in the inherited children. But the interfaces will provides more strict understanding, about some entity behavior, and we could be sure, that our child won't inherit some useless behavior from the abstract parent.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by reviewing the Dart language specification and the existing abstract-class semantics, then define the interface model, its interaction with inheritance, and the acceptance criteria for a complete language proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.