Hacker News new | ask | show | jobs
by kaba0 1400 days ago
> The essence of programming is designing a way to transform data

I don’t agree here - in my experience data-oriented programming is only a subset of all useful programs.

For example, a game is in my opinion not like that. Sure, very pedantically it may be considered a “mathematical function”, but then so is every human interaction, and that’s not a useful pedantism.

2 comments

Why is a game not like that? It transforms a stream of input events into stream of output events (video and sound hardware commands). Yes there is lots of state, but that can also be thought about as data that is transformed, step-by-step.
I'm confused. What do you think games do with those tens of gigabytes of data?