Login
You're viewing the techdon.dev public feed.
  • Aug 10, 2026, 11:13 AM

    @diondokter Mixed feelings. On one hand, mut restriction is something that's going to simplify my code. On the other hand, it adds more complexity to the language and puts nonobvious semantics on what used to be plain data fields.

    💬 1🔄 0⭐ 0

Replies

  • Aug 10, 2026, 11:16 AM

    @dcz I get that. But a different perspective is that it simplifies things too. You don't need a private field with a getter anymore. So the total api size has now decreased which makes it simpler (at the cost of an extra language feature yes)

    Same with the trait sealing. You can already do this, it's just tedious.

    💬 0🔄 0⭐ 0