Skip to content

wording correction #28

@EbubeTheSage

Description

@EbubeTheSage

Sub-chapter on Variable declaration contains:

"In Nim we also distinguish values that can change, or mutate, from those that can’t"

The sub-chapter is focused on using var to signify a variable's mutability, not a value's (an object).

Teaching new coders to equate variables (references) to objects will cause a lot of issues downstream.

Fixing it would require a simple change of the word 'values' to 'variables', as a hyperlink to an easy-to-understand article on variables vs. objects.

Furthermore, later on, on object mutability, we can introduce distinctions between mutable & immutable types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions