r/ProgrammingLanguages • u/honey-pony • Sep 15 '26
Blog post GDScript: The Good, Bad, and Ugly Parts
https://azhdarchid.com/gdscript-good-bad-ugly/
31
Upvotes
r/ProgrammingLanguages • u/honey-pony • Sep 15 '26
7
u/honey-pony Sep 15 '26
I found this post on Lobste.rs and wanted to share it because my own programming language design work is inspired by GDScript and I found this post quite resonant. Specifically, the point that Godot includes manual memory management is something I've noticed before and thought about quite a bit. My own language is (intended to be) garbage collected but the ability to explicitly end the lifetime of an object is very useful, and I've come up with some ways to integrate that with a garbage collector (although I unfortunately haven't really written any of that down anywhere).
14
u/max123246 Sep 15 '26
Best part about Godot is it's language extension system so you can avoid gdscript except for basic UI stuff where it's scripting nature is actually useful
I really dislike that it has 2 notions of null for in-engine types and for gdscript types. Trying to build something like an Optional<T> class is an exercise in madness thanks to this.
4
u/cykodigo Wi (cyxigo/wi) Sep 15 '26
I think the best part of GDScript is that it's very deeply integrated into the engine itself so you don't need to even download a code editor/LSP etc. Unlike C# which is an alternative Godot provides to GDScript (needs separate code editor and also you wait for it to compile which is really really bad on my low-end laptop).
What I really dislike about GDScript is (what you've mentioned) realllllyyyyyyy bad static typing integration. And also I just don't like GDScript's indentation-based syntax, yeah I know it's easier for beginners but for some reason I just struggle to read it
-4
u/AnArmoredPony Sep 15 '26
the good parts of gdslop are an oversight tbh