• chickenf622@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    5 days ago

    Strongly disagree with the author on this. Syntax highlighting for me is to be able to differentiate discrete parts of code rather than being able to quickly identify what is what. I don’t rely on syntax highlighting for catching errors since linters/compilers are a much more appropriate tool for that. Their color scheme is far too bare bones that it feels like one step above writing code in notepad. I have to do more thinking to see what the code is doing in the “improved” color scheme where the “inferior” version I can mentally see each part is distinctly different from the other parts. Maybe if they didn’t use such a clickbait title I would be less harsh.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      5 days ago

      Did you spot the error with return?

      And the theme the author used was a bit disingenuous. Like, why was audio two different colors? One for the declaration and one as the call member? Like of course it’s useless like that. I think there’s a happy medium between the two but I’m like you. If I’m coding and I need to find a variable I look at what color it is and then search for that color. If I need to find function defs I do the same. Same for everything.