1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

5 commits

Author SHA1 Message Date
Valentin Gagarin 73b928d5e4
fix typo 2023-08-24 18:27:54 +02:00
Valentin Gagarin 458acd70b2
add missing word 2023-08-24 18:25:23 +02:00
Frenco fb0f26838e
Update best-practices.md (#689) 2023-08-23 22:21:22 +02:00
Valentin Gagarin 983ab67907
use "name" instead of "variable" consistently (#588)
strictly speaking, the Nix language does not have variables because what we call "variables" in the mathematical sense are names assigned to values that do not change, but can rather have different possible but fixed values depending on context.

this change is mainly to make use of words consistent with the Nix language tutorial in order to avoid any ambiguity and confusion for beginners, who may wonder why one article says "there are no variables" and the other one liberally uses the term regardless. always using "name" makes unmistakably clear that it's a variable in the mathematical sense.
2023-06-13 21:45:42 +02:00
Valentin Gagarin e47b082d22 turn anti-patterns into best practices
make generous use of admonitions
2023-05-12 05:49:48 +02:00