gyscos / gyscos/cursive

The great renaming

Open
#393 3 comments 2 reactions 0 assignees View on GitHub
breaking_change
Dominant language
Rust
Stars
4.8k
Forks
270
Avg merge
5d 19h
Merged PRs (30d)
2

Description

Naming is a notoriously hard problem, but we can probably do better than the current status quo.

* Should we include `View` in view names? Or should we try to have `views::Edit`, `views::Text`, `layout::Linear`?
* `views::SizedView` is confusing; should probably be called `SizeTrackedView`, `SizeTracker`, or `LastSizeView`.
* `views::ViewBox` should probably be `views::BoxedView`
* `views::BoxView` should probably be `views::SizedView`

Some of the expansion traits would need to adapt as well.

It's not a lot of types to renames, but they are very commonly used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.