Better HN
topnewbestaskshowjobs
Log inSign up

Marco012

1 karma · joined Nov 9, 2026 (3w ago) · 4 submissions

Submissions

comment 3w ago · link · parent

A long time ago I came across a massive issue in my Rust project due to the borrow checker (typical Rust beginner). The thing is, that code wasn't unsafe at all, it just wasn't compatible with Rust's way of doing things.

I'm the type of person that uses getters and setters for everything, I don't really like public fields so I naturally do that in Rust too. But of course it doesn't work well, Rust doesn't know that a pos_mut() and rot_mut() return inner fields, so it simply doesn't allow you to call both functions together.

Thinking about this for a long time, I came to the conclusion: Why doesn't the function mention which field the returned reference is from? If the function says that pos_mut() is "attached" to the pos field, and rot_mut() is "attached" to the rot field, then the compiler would be able to distinguish both references by the function call.

That initial idea became what I now call the "Ties" concept in the Dazzle programming language, which I've been designing. It's on a very early stage but so far it's proving my point. I would love to hear some feedback, especially some situations where this approach may fall short. Thanks

comment 3w ago · link · parent

I'm not sure if there is any standard for this, I also tried to search about it in the past. But what I ended up doing that has been working well is to keep everything documented. Every task and decisions are documented on .md files, referencing related tasks and decisions. The project becomes bloated quickly, but Claude can easily locate and relate decisions from a long time ago. Some times I even ask to do do something and mid-way Claude realizes that it goes against a previous written decision.

comment 3w ago · link · parent

I honestly think that we just shifted from asset flop games to AI slop games. Nowadays we look at games and say "oh this is AI", but it doesn't mean you can't make a good game with AI. Obviously if we say "make the UI for my game", it will be, (from my experience), generic and not good at all. The same way we can just download an asset pack and slap it into the game. I totally agree that now we can spend time on game mechanics and quickly prototype different ideas much more easily, but it's not easy to make games. It's easy to make bad games, but still hard to make good ones.