3 ms·
I also don't perceive removals in diff view as "bad" because they are red but as "look here, could be important". That's really the problem with using red for
by onion2k 7y ago
I also don't perceive removals in diff view as "bad" because they are red but as "look here, could be important".
That's really the problem with using red for deletes in a diff. Red implies that the deleted lines are more important than the added lines, and that's wrong. You shouldn't (and can't really) focus exclusively on the deleted code. Breaking the 'red = important' connection and using a color scheme that gives equal weight to the removed and added lines may well work better once you get past how weird it is.
- EForEndeavour 7y ago> Red implies that the deleted lines are more important than the added lines I've never gotten that impression. I and my coworkers & classmates usually highlight text using the standard yellow highlighter, occasionally using other snazzy highlighter colours - red sometimes included, but usually not. The associations that leak in from other domains are green=good/go, red=bad/stop. It's very easy to mentally remap the colours to the intuitive green=new, red=old.