Join Nostr
2025-05-23 16:07:46 UTC
in reply to

Ramsey Nasser on Nostr: so students and experienced people are in a kind of draw the rest of the owl ...

so students and experienced people are in a kind of draw the rest of the owl situation, almost immediately. so what do they do? a kind of smattering of things, none too good honestly.

"global" variables are an easy way to get state across frames, but without any principled notion of a state machine that kind of code will tend towards a random smattering of boolean flags and numbers that are written to and read from ad hoc at random places in the program. each of these solves an immediate problem contributes to a broader closing of doors down the line and painting you into a corner.

I put "global" in quotes because this also applies to things like public mutable members on unity components and things that are technically not global but *effectively* global, in that the search space when things go wrong with them tends towards the whole program.