godotengine / godotengine/godot-docs

Clarify using underscores to denote private variables

Open
#4,913 4 comments 1 reaction 0 assignees View on GitHub
area:manual enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
3.3

**Issue description:**
The documentation states

> Prepend a single underscore (_) to virtual methods functions the user must override, private functions, and private variables

However, this doesn't mention anything about private Constants and Enums. What should one do for them? What about export variables? Can they be private?

**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_styleguide.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.