Borrow Checker Trauma

86 points xwaxes 34 comments

I am using the term ‘borrow checker trauma’ for lack of a better word. A bit of context first; I have been using Rust for my personal web projects extensively but use Rails at work.

So the problem is, whenever I am working on work projects and want to perform two or more operations on a variable, especially if I am passing it around or returning it, I always find myself taking a step back to consider if the ownership has moved before I remember that I am on Ruby and that doesn’t apply.

Has anyone experienced this in other languages or on their daily workflow?