Comment

Comment by lukaszwojtow

I always prefer by-borrow. That's because in the future this struct may become non-copy and that means some unnecessary refactoring. My thinking is a bit like "don't take ownership if not needed" - the "not needed" part is the most important thing. Don't require things that are not needed.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton