From 352f05fe7cd8504923e1582f7774756f670bd4c4 Mon Sep 17 00:00:00 2001 From: Michael Brockus <55331536+michaelbrockus@users.noreply.github.com> Date: Fri, 7 Aug 2020 15:36:02 -0700 Subject: Written a new paragraph for var naming recommendation (#7531) --- docs/markdown/Style-guide.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Style-guide.md b/docs/markdown/Style-guide.md index 960e60c..04a81e8 100644 --- a/docs/markdown/Style-guide.md +++ b/docs/markdown/Style-guide.md @@ -13,9 +13,12 @@ Always spaces. ## Naming Variable -The most consistent naming convention is the snake case. Let say you would -like to refer to your executable so something like `my_exe` would work or -just `exe`. +Snake case (stylized as `snake_case`) refers to the style of writing in which +each space is replaced by an underscore (`_`) character, and the first letter of +each word written in lowercase. It is the most common naming convention used +in Meson build scripts as identifiers for variable. + +Let say you would like to refer to your executable so something like `my_exe`. ## Naming options -- cgit v1.1