factjuice
Technology  /  gdscript

Facts about GDScript

6 facts squeezed so far
  1. 06

    Method calls in GDScript use snake_case naming convention by default, whereas properties accessed as getters and setters automatically convert to camelCase when interfacing with C++ core classes in Godot 4.0.

    GDScriptMay 14namingconventioninterface
  2. 05

    Godot's GDScript allows developers to define custom classes using the class_name keyword at the top of a script file, enabling global accessibility without requiring manual registration since version 3.1 in March 2019.

    GDScriptMay 14programminggodotfeatures
  3. 04

    Godot's GDScript supports optional static typing through type hints while remaining dynamically typed by default, allowing developers to mix both paradigms within the same codebase.

    GDScriptMay 14programmingflexibilitylanguage-design
  4. 03

    Between 2014 and 2021, GDScript's reference counting garbage collector automatically freed unused objects without requiring manual memory management or pauses from stop-the-world collection cycles.

    GDScriptMay 14programmingmemoryautomation
  5. 02

    Typed variables in GDScript use a colon syntax like player_speed: int = 10, enabling static type checking within Godot's dynamic engine.

    GDScriptMay 14programmingsyntaxtype-system
  6. 01

    Godot's GDScript language achieved syntax similar to Python starting with version 3.0 released in January 2018.

    GDScriptMay 14programmingsoftwarehistory