News for hackers. Stuff that matters.
Re:Show HN: Online C/C++ Code Browser by tlrobinson on Monday March 07, 2016 @01:09PM (#11240380)
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.
Re:Show HN: Online C/C++ Code Browser by hvs on Monday March 07, 2016 @01:47PM (#11240650)
C++ 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".
Re:Show HN: Online C/C++ Code Browser by aurhum on Monday March 07, 2016 @01:14PM (#11240412)
Different themes are available depending on your taste. Just pick one from the style combo box at the top right.
Re:Show HN: Online C/C++ Code Browser by jlarocco on Monday March 07, 2016 @02:05PM (#11240782)
I 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.

Re:Show HN: Online C/C++ Code Browser by GFK_of_xmaspast on Monday March 07, 2016 @02:38PM (#11241018)
It would still be pretty gross, especially with all those variable declarations/assignments inside conditionals.
Re:Show HN: Online C/C++ Code Browser by jlarocco on Monday March 07, 2016 @03:48PM (#11241499)
Oh, 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.

Re:Show HN: Online C/C++ Code Browser by slazaro on Monday March 07, 2016 @02:25PM (#11240917)
There's a lot of whitespace removed, but also IMO they used way too many colors. Once you highlight everything, you're highlighting nothing.
Re:Show HN: Online C/C++ Code Browser by ogoffart on Monday March 07, 2016 @03:27PM (#11241368)
The 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.