3 ms·
I don't know if it's my relative unfamiliarity with C++ or those syntax highlighting colors but I find that code incredibly hard to parse quickly.
by tlrobinson 11y ago
I don't know if it's my relative unfamiliarity with C++ or those syntax highlighting colors but I find that code incredibly hard to parse quickly.
- aurhum 11y agoDifferent themes are available depending on your taste. Just pick one from the style combo box at the top right.
- hvs 11y agoC++ is definitely a language you need to spend some time with before you can visually parse it quickly. C++11 also allows you to trim down the verbosity with things like "auto".
- jlarocco 11y agoI suspect they wanted to show off features, so they crammed as much code as possible into the smallest area possible and stripped out the white space. IMO it'd be pretty nice with decent white space.
- GFK_of_xmaspast 11y agoIt would still be pretty gross, especially with all those variable declarations/assignments inside conditionals.
- jlarocco 11y agoOh, yeah, I wasn't trying to nitpick the overall code quality. I just meant using white space would be more readable for demonstrating the code browsing capability.
- slazaro 11y agoThere's a lot of whitespace removed, but also IMO they used way too many colors. Once you highlight everything, you're highlighting nothing.
- ogoffart 11y agoThe color theme is based on KDevelop's theme, which happen to be my favorite IDE. I find color really helpfull while reading code since they each have a different to which you quickly get used. But there are other themes that one can choose.