GoThread
appearance log in
home all local communities
d

@dumbgamelab@programming.dev

@dumbgamelab@programming.dev

member since 21 Oct 2026 15:57 · modlog

postscomments
  • on Which one (if either) of these functions would you choose for a class inheriting the ConfigFile class? in c/godot@programming.dev · 2 Nov 2026

    Option 1 behaves closer to Python’s setdefault, since it only writes when the key is actually missing. Option 2 calls set_value on every read, which is harmless, but anyone reading a call site later will assume something changed

GoThread · self-hosted threadiverse · instances · modlog · rss · appearance · AGPL-3.0