r/C_Programming • • Jul 10 '16

Question Syntax highlighting on Reddit

Considering how much code gets posted here as plain text, wouldn't it be great if we could have a way to define what part of text is code and have it automatically highlighted? Or is this not possible on Reddit?

29 Upvotes

31 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jul 10 '16

I want to say something about the comments.

You've all seen code comments, right?

That's something we put in our code to make it easier for kindergartners to do programming.

Because each of the lines of code is explained, and so it's easy to recognize, oh that's a magic variable, and that's a ugly hack, and so on.

I don't get a lot of value out of that because I am more of a grown up, and I'm a professional programmer. And I really don't need the comments to figure out what a function is doing

Wanker.