DevLog 20260319: Towards OOP - Document-Level Main Module and Module Level Members and Behaviors
Revisiting Flappy Bird – The Pain Point Remember our Flappy Bird example from mid-2025? The long chain of variable initializations was needed for two main reasons: No way to declare variables befor...

Source: DEV Community
Revisiting Flappy Bird – The Pain Point Remember our Flappy Bird example from mid-2025? The long chain of variable initializations was needed for two main reasons: No way to declare variables before using them More critically - no way to define custom data structures that could group related values together and be instantiated with a single node. In retrospective it seems obvious: we just need proper structured data containers. But building the scaffolding to support this properly in a visual, node-based system is a bit more involved. Searching for a Solution I spent a long time trying to bring OOP concepts into Divooka. A huge amount of effort went into DiOS (Divooka Open Standards), with the hope that a complete standard would naturally solve these kinds of problems. But standardization work is slow and deep - just like making Divooka itself feature-complete. Then, while working on something completely unrelated and taking a short break from this topic, it suddenly clicked. The key i