Highlighting My Code Based on How Much I Care

(hank.bond)

25 points | by hankbond 2 days ago

4 comments

  • KronisLV 26 minutes ago
    Cool article, really cool website (the font could also be a bit smaller, if it didn't mess with the fidelity), but the grayscale setup just doesn’t have enough contrast for my eyes to reliably pick up on it at a glance.
  • WhyIsItAlwaysHN 1 hour ago
    The continue keyword is also important, or alternatively the condition to run it.

    I often fail to notice it on the first look of some snippet of code

  • burticlies 43 minutes ago
    I like highlighting only the language concepts:

    Reserved words are red

    Strings are green

    Constants/numbers are blue

    Types/meta-language are yellow

    Anything else is white.

    It’s not too colorful but still gives you plenty of anchors for your eyes.

  • tefkah 1 hour ago
    i’m surprise by how much i liked that! also: neutrality website, very tasteful