Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: salaheldinsoliman <[email protected]>
  • Loading branch information
lzpap and salaheldinsoliman authored Nov 13, 2024
1 parent 73d205c commit c83f6e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/content/developer/advanced/introducing-move-2024.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Introducing Move 2024
description: New features are becoming available to Move in 2024. These features are opt-in, so existing code will continue to function as expected. If you want to use these features in code you've already written, however, there are some steps you must take and breaking changes to be aware of to migrate to Move 2024.
---

IOTA launches with the "Move 2024.beta" edition, bringing enhanced features to improve both the writing and readability of Move code. These updates enhance the source language and affect the compiler, without impacting the on-chain binary representation. This enables a smooth experience with all new language improvements.
IOTA launches with the "Move 2024.beta" edition, bringing enhanced features to improve both the writing and readability of Move code. These updates refine the source language without impacting the on-chain binary representation, allowing users to enjoy a smoother experience with the latest language improvements.

The primary goal of these "Move 2024.beta" edition changes is to make Move easier to write, and hopefully easier to read. The relatively few breaking changes introduced to the source language are to better position Move to handle future advancements.
The primary goal of the "Move 2024.beta" edition is to make Move easier to write and, ideally, easier to read. The minimal breaking changes introduced in the source language are designed to better prepare Move for future advancements.

This document highlights some new features to try out and shows how to use them in your existing modules.

Expand Down Expand Up @@ -454,17 +454,18 @@ use iota_system::iota_system;
```


## Follow along
## Move 2024 Editions

The beta release of Move 2024 comes with some powerful new features in addition to the breaking changes described here. There are also more on the horizon, such as syntactic macros, enums with pattern matching, and other user-defined syntax extensions.

### `alpha` and `beta` guidance

#### `beta` Edition
- `beta` (specified via `edition = "2024.beta"`) is the recommended edition. It includes all the new
features mentioned above and all breaking changes. While there is the risk of breaking changes or
bugs in `beta`, you should feel comfortable using it in your projects. As new features are added
and tested, they will be included in the `beta` edition. The `beta` edition will end after _all_
features for the year have been added and finalized.

#### `alpha` Edition
- `alpha` (specified via `edition = "2024.alpha"`) will get new features and changes as they are
developed. Breaking changes to features in `alpha` should be expected. As such, take caution when
using`alpha` in your projects.

0 comments on commit c83f6e8

Please sign in to comment.