• 2 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: July 31st, 2023

help-circle
  • robjohnsonOPtoProgrammingHow to Create Responsive Code Blocks
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    You touch on a fair point that yeah, we don’t want to go too far and fit code into a narrow viewport at absolutely any cost. But applied wisely, a little judicious indentation would go a long way.

    I don’t think zooming is a good general solution, since ultimately it makes the code harder to read.



  • robjohnsonOPtoProgrammingTribal Knowledge
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Well, you’re right in that it’s a bit more than just “poor knowledge sharing”. But I’d say it’s more specific than unintuitive code that requires knowledge sharing, too - it’s code that is unintuitive primarily because its main reviewers are blind to the exactly how unintuitive it is, and thus a vicious circle persists. We can see this in the author’s recommendation to have such code be reviewed by newcomers as well in order to break the loop.