-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
122: doc/tut1: new section on functions and methods r=saem a=ZoomRmc This PR adds a new section on functions and methods to the first part of the tutorial. The added text clarifies the differences between the three and provides some benefits of using `func`s which explains their existence in the language. This PR aims to answer a repeating question of "which of the three should I use?" coming from new language users, which was observed on multiple occasions by the `@PMunch` and others. Most of the work is by `@PMunch,` part about functions coauthored by me in a declined edit of the merged PR (nim-lang/Nim#19207) Co-authored-by: Zoom <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters