Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We send syntax highlighted code all the time via email at my job. I hope you're not suggesting we should use PDF instead?

And no, creating snippets on a wiki is also an extra unnecessary step. Email is just easier and faster.



why not let people syntax highlight the way they want? some people dislike syntax highlighting, some like high contrast highlighting, some like blue-tinted highlighting, etc. why do you get to decide for everyone what colour strings should be?

send the plaintext code snippet and they'll decide.


Syntax highlighted code can hardly be considered a "reference document".


For the life of me I can’t remember the syntax for a particular thing I do in the JavaScript console at work. Someone showed me the trick in an email about seven years ago and about once a month I need to do this thing so I search my inbox for the email so I can remember the syntax.


It might be "easier and faster" to send an email than to, for instance, upload to a dedicated snippet manager, but literally everything after than that is slower and more difficult.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: