• 0 Posts
  • 9 Comments
Joined 10 months ago
cake
Cake day: January 12th, 2024

help-circle
  • I get what youre saying but this is still only kind of true for languages that only the variable assignment is constant (like javascript) rather than the value itself (like rust). If I create a map in rust, without any modifiers, that map is immutable and can’t be changed (not even the contained values). If I create a map in JavaScript using the const keyword, I have created a constant in that block that cannot be reassigned, but any values within the map are changeable like you mentioned. It means the object itself is mutable, but it belongs to a variable that is not.



  • zmrl@lemmy.ziptoVegan@lemmy.mlDouble A.
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    I started doing it this way because I like easy and I love the way the rice soaks up all the flavor when I do it all together. I found a basic recipe online and have been just playing around with variations on that.

    Recently I used kidney beans instead of black beans and they were really good. Unfortunately, it wasn’t as easy because I had to pre-cook the kidney beans to work in the recipe, but it came out really tasty. That took an extra pressure cook (5 min) and natural release.


  • zmrl@lemmy.ziptoVegan@lemmy.mlDouble A.
    link
    fedilink
    arrow-up
    5
    ·
    7 months ago

    My main go to lately has been beans and rice in the instant pot (any pressure cooker is fine). Throw dry rice and black beans in with some sauteed onions and garlic, broth, a can of tomatoes and season with chili pepper, cumin and a few other common spices. That’s been a staple for me for a while. Every batch makes a meal plus a few lunches and its really easy to make. Goes great with some tangy hot sauce. Can also be used to fill a burrito or tacos.