• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle






  • I have nothing against veganism as a dietary decision, I’m actually seriously considering it for health reasons and for easier food preparation.

    I am sick of veganism as a moral high horse, especially with hypocrisy in the background. I have a friend constantly ordering stuff, including vegan ingredients, from Amazon of all places. If he’s going to low-key admonish me for hurting animals, I’d expect him to care about the Amazon warehouse employees to a similar degree. Unless it’s all just posturing.



  • never mind, I looked it up. It’s a “reference” instead of a pointer. Similar, but unlike a pointer it doesn’t create a distinct variable in memory of its own.

    I’m almost sure it does create a distinct variable in memory. Internally it’s still a pointer, specifically a const pointer (not to be confused with a pointer to a const value; it’s the address that does not change). Think about it as a pointer that is only ever dereferenced and never used as a pointer. So yes, like the other commenter said, like an alias.