Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RO
robjohnson @programming.dev
Posts 2
Comments 2
How to Create Responsive Code Blocks
  • 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.

  • robjohnson.dev How to Create Responsive Code Blocks

    A guide to how to adapt code samples for mobile, and why it's worth the effort.

    For my blog I thought I'd set up code blocks that can be adapted to mobile. Does anyone else bother doing this, or is it just me? You certainly don't get this option on blog platforms like dev.to, so I'm guessing it's not that common.

    3
    Tribal Knowledge
  • 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.

  • A great post by Erik Dietrich on how poor knowledge sharing is unintentionally rewarded.

    3