• 2 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • hackeryarn@lemmy.worldOPtoProgramming@programming.devYou don't need a map for that
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    edit-2
    6 months ago

    I wasn’t trying to go into typing as much as using structs or objects when working with known data attributes. Sorry that it was a bit misleading.

    The original actually went into using trees, sets, heaps, tries, etc., but it felt way too… ranty. After writing all that out, I realized that most of those other cases come up really infrequently, and that my biggest gripe was about not using structs or other pre-defined key container types. I thought it would be better to keep things short and focused.

    Maybe I should re-write and publish a data structures edition.






  • I use it to share environments with a small team. Just have distrobox specific Docker files and we can all spin up the same distrobox environment locally.

    We end up having a different base docker file (e.g. our distrobox one has editors and stuff), but we all share the same project specific docker file. That same project specific file gets used in CI/CD and deployment, but with a minimal base. So all in all, I would say it’s even better than Vagrant because we run the same system in production.