Elektrine lite

← Feed

@Rylik@mastodon.social

Post #2060888

2025-04-21 15:59 UTC

My fav chptrs are: Data Norm., Exist. Process. and FSM. I started prefixing my functions based on this table here, which makes it very easy to track bugs(the prefix alone makes me more aware ). There are some funny “philosophical” questions that arrive doing this, and I wonder what @fabs answer would be. Would an init func be a mutating func or a gen func. You could argue that uninited space is muted on initialisation, but that’s usually not thought of as a mutation.

Replies (1)

  • @fabs@mastodon.gamedev.place 2025-04-21 16:14

    @Rylik "does not read data" is the important bit. You've got a constant or generator with some initial state that can be changed during the generation, but that's not streamed, so doesn't count as data in the larger sense. Bear in mind, I wrote this 7 years ago, I probably still agree with 90% of the book, but there will be 10% I have had new thoughts on. So, use critical thinking and go beyond my musings.

    Open ##2088137