• 0 Posts
  • 104 Comments
Joined 1 year ago
cake
Cake day: July 10th, 2023

help-circle
  • livingcodertoGames@lemmy.worldWhat MMORPG are you playing, and why?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    5 hours ago

    I feel almost the exact opposite. I don’t feel any progression and I do not enjoy the PvP elements of the game at all. I’m glad that you enjoy it, though.

    Edit: by comparison, I’ve recently started playing Deep Rock Galactic and feel a great sense of progression without the game-ending effects of PvP. Losing a ship in Eve is a guaranteed time loss.













  • Even if you were using the builder pattern, this maintains the immutable variable in the parent scope while you use the mutable variable’s builder pattern methods (basically exactly as my example demonstrates) in the inner scope.

    edit: Oh, I think you mean you would chain the builder pattern calls and assign it to an immutable variable. Sure, that makes sense if you own the struct.


  • I prefer to encapsulate a mutable reference to the instance in a scope.

    let post_form = {
        let mut post_form = PostInsertForm::new(
            // your constructor arguments
        );
        post_form.some_mutating_method(
            // mutation arguments
        );
        post_form
    };
    

    This way you’re left with an immutable instance and you encapsulate all of the logic needed to setup the instance in one place.






  • I wish I could experience that. I wish our sci-fi fairytales of space travel were happening now. Alas, I must simply exist in a life lived better than a king of old, living longer than our ancestors, with food untasted by the billions before us, and all while I fly around in space within Eve Online while watching Star Trek. Life is great, but it’s so easy to want it to be just that much better.