Skip to content

Commit

Permalink
Merge pull request #379 from onflow/j1010001-remove-numbering-implyin…
Browse files Browse the repository at this point in the history
…g-priority
  • Loading branch information
turbolent authored Sep 25, 2023
2 parents df2f01b + a23d4d8 commit 3971145
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/cadence/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ title: Why Use Cadence?
sidebar_position: 2
---

## 1. Security and Safety
## Security and Safety

Cadence provides security and safety guarantees that greatly simplify the development of secure smart contracts. As smart contracts often deal with valuable assets, Cadence provides the resource-oriented programming paradigm, which guarantees that assets can only exist in one location at a time, cannot be copied, and cannot be accidentally lost or deleted.
Cadence includes several language features which prevent entire classes of bugs.
These security and safety features allow smart contract developers to focus on the business logic of their contract instead of preventing accidents and attacks.

## 2. Composability
## Composability

Cadence enables composability. Resources (which are arbitrary user-defined data types) are stored directly in users’ accounts, and can flow freely between contracts: They can be passed as arguments to functions, returned from functions, or even combined in arbitrary data structures. This makes implementing business logic easier, more natural and promotes reuse of existing logic.

## 3. Simplicity
## Simplicity

Cadence’s syntax is inspired by popular modern general-purpose programming languages like [Swift](https://developer.apple.com/swift/), [Kotlin](https://kotlinlang.org/), and [Rust](https://www.rust-lang.org/), so developers will find the syntax and the semantics familiar.
Practical tooling, documentation, and examples enable developers to start creating programs quickly and effectively. Hundreds of developers were able to learn Cadence quickly and develop production-quality smart contracts with it shortly.
6 changes: 3 additions & 3 deletions versioned_docs/version-stable/cadence/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ title: Why Use Cadence?
sidebar_position: 2
---

## 1. Security and Safety
## Security and Safety

Cadence provides security and safety guarantees that greatly simplify the development of secure smart contracts. As smart contracts often deal with valuable assets, Cadence provides the resource-oriented programming paradigm, which guarantees that assets can only exist in one location at a time, cannot be copied, and cannot be accidentally lost or deleted.
Cadence includes several language features which prevent entire classes of bugs.
These security and safety features allow smart contract developers to focus on the business logic of their contract instead of preventing accidents and attacks.

## 2. Composability
## Composability

Cadence enables composability. Resources (which are arbitrary user-defined data types) are stored directly in users’ accounts, and can flow freely between contracts: They can be passed as arguments to functions, returned from functions, or even combined in arbitrary data structures. This makes implementing business logic easier, more natural and promotes reuse of existing logic.

## 3. Simplicity
## Simplicity

Cadence’s syntax is inspired by popular modern general-purpose programming languages like [Swift](https://developer.apple.com/swift/), [Kotlin](https://kotlinlang.org/), and [Rust](https://www.rust-lang.org/), so developers will find the syntax and the semantics familiar.
Practical tooling, documentation, and examples enable developers to start creating programs quickly and effectively. Hundreds of developers were able to learn Cadence quickly and develop production-quality smart contracts with it shortly.

1 comment on commit 3971145

@vercel
Copy link

@vercel vercel bot commented on 3971145 Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.