Conversation

Game programming is such a fascinating adjacent field: https://twitter.com/maxbittker/status/1782645521888247956

1
0
0

To be clear, not throwing shade at this code - it’s a hugely successful shipped product, and it’s useful to reflect on the constraints that different environments impose on writing code.

1
0
0

@alpha it very well may be that’s the fastest way to look something up in a table

1
0
0

@drbrain Given that Balatro’s a card-based rogue-like, I’d hazard that perf here wasn’t the primary motivation.

I don’t think it’s bad code, at that - more an example of how abstractions aren’t always the right tool for the job.

0
0
1