Join Nostr
2026-03-10 17:50:44 UTC

slembcke on Nostr: Had another conversation about pass-by-ref vs pass-by-value and why passing an object ...

Had another conversation about pass-by-ref vs pass-by-value and why passing an object in something like C# or JS doesn't copy the object. Feels like this comes up every few months.

Always takes a bit of a struggle to explain what a pointer is to someone who's programmed for years without ever using one directly.

Obviously not a big problem, but it always makes me wonder what actually makes for the better abstraction.