Skip to content

Commit

Permalink
Clarified Odin comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Nov 1, 2024
1 parent ef23571 commit 5d1fc34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/content/docs/FAQ/compare-languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ the language. For error handling it relies on Go style tuple returns.

- Different syntax and behaviour compared to C.
- Ad hoc parametric polymorphism.
- Tuple returns.
- Multiple return values.
- Error handling through multiple returns.
- A rich built in set of types.

##### In C3 but not in Odin
Expand All @@ -172,7 +173,7 @@ the language. For error handling it relies on Go style tuple returns.
- Semantic macros.
- Value methods.
- Optional contracts.
- Error handling support.
- Built in error handling.
- Dynamic interfaces.

## D
Expand Down

0 comments on commit 5d1fc34

Please sign in to comment.