Contrary to what many developers believe, coding in a proportional font can be quite practical and enjoyable. And it fits a lot more horizontal text on the screen for the same visual font size.
There are some exceptions, of course, such as code dealing with bit patterns or matrices where you want things to align vertically.
But for most of the code most of us read and write, that isn't an issue. As a specific example, Python code formatted with Black is equally readable in a monospaced or proportional font.
And then when a line is too long - whatever font you use - word wrap fixes it. Even if word wrapping looks a little sloppy sometimes, it sure beats having to scroll horizontally.
No joke. The font on my mom's phone is so large that buttons were "missing" from her parking app. I told her she had to be wrong, until I saw it myself. And that's also on a newer model galaxy note (big screen). She's in her 50s.
Use responsive design people! You'll need it someday!!