2 ms·
Most common error in my and teammates code (Ruby, JS) while actively working on it is code being edited is not consistent with the other code in the system. Th
by joevandyk 7y ago
Most common error in my and teammates code (Ruby, JS) while actively working on it is code being edited is not consistent with the other code in the system.
Thinking I’m dealing with an Object A when I have object B.
Not realizing that nil is a valid thing to be returned from code that at first glance shouldn’t return nil.
Plus, accidentally writing super slow n+1 queries. And accidentally loading too much data.