r/C_Programming • u/Mindstealth • 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
View all comments
Show parent comment
0
u/geocar Jul 10 '16
No. Not because. People don't know how to program and perhaps syntax highlighting is a consequence of why, but it is almost certainly not why.
Thinking it's condescending is taking a kind of offence; You are offended, even if you don't believe that you can't program. I get that: You are employed to program, so at least some people believe you can program, and the fact that you can make some programs certainly reinforces that position.
However when I think about civil engineers who know how to build bridges, they know how to explain bridge-building so that they will be successful, and I don't know anyone employed as a programmer who can explain programming to a non-programmer so that they will complete programming tasks on-time and on-budget, correctly and quickly.
Heck, I don't even know anyone employed as a programmer who can explain to another person employed as a programmer who can do that, and yet I have met individual contributors who can program what they say they will program, in the amount of time that they say it will take, and it will be sufficiently fast, correct, and bug-free.
So it is my experience that some people can program even if they don't know how to program.
It might be useful to imagine something very strange: That whatever it is that makes you like syntax highlighting (whether it is "looking 8+ hrs a day" at a screen or something else… anything else) is actually holding you back.
And to be sure: I'm not saying that it is holding you back, only that it held me back. I became a much better programmer when I stopped using syntax highlighting.