Just realized 90% of my blogposts rape the word "actually".— Swizec Teller published ServerlessHandbook.dev (@Swizec) March 19, 2012
This happens because not a single writing tool can tell me Hey you, yes you, you're using too many [filler words](http://en.wikipedia.org/wiki/Filler%28linguistics%29 "Filler (linguistics)"), yo!_
Ever since the 1990's programmers have been using a key piece of technology. An ubiquitous piece of tech that exists in even the most trivial of code editors, something that makes the life of a coder survivable.
This is what code looked like before syntax highlighting. Working with this wasn't impossible ... the longest piece of code I came up with was probably upwards of 4000 lines of very horrible code ... hey, I was 12, cut me some slack.
I still remember the incredible joy that came with installing Turbo Pascal 7. Syntax Highlighting baby! No seriously, the code was suddenly better.
Life in general was better. I would compare quality of life before and after syntax highlighting to losing one's virginity. It is literally that awesome.
I remember spending a lot of time just tweaking the highlighter settings, making sure everything looked just right. A well set up syntax highlighter makes you feel at home :)
These days I no longer pay much attention to syntax highlighting, I just take it for granted. If a file looks wrong in Emacs, you simply go on the internets, download the appropriate mode and voila, code looks good again.
Coding isn't all I do anymore, though A lot of my time is spent writing every day. My editors though ... are kind of lame.
When writing English my "code" still looks like it was 1994:
Writing without distractions is all fine and good, but syntax highlighting isn't a distraction! It's helpful!
What if instead of a cold hard piece of text staring back at me from the editor, there was something like this instead:
This is just a simple mockup I put together in html in about 20 minutes. Syntax highlighting on the level of words
- verbs are pink
- pronouns are green
- nouns are blue
- errors have a red background
Not sure how visible it is, but when editing a sentence, it would be useful for the start and end of it to be highlighted with a light blue hue ... just like parenthesis matching when coding!
It would be really cool if syntax highlighting for natural languages went beyond words and onto concepts, where it isn't just the noun that turns blue, but all adjectives attached to it would get a blue-ish background.
That would help incredibly when it comes to overloading.
If natural languages were a bit simpler, we'd already have syntax highlighters ... or maybe nobody's thought of this before?
I for one do enough writing that I would pay for something like this. Make it a wordpress plugin or something ... or an emacs mode. I don't care, I want it!
Hopefully I'm not the only person who needs this, there is a whole market of book and magazine editors, professional writers, journalists and so on who could benefit from something like this.
However, all of those people will never ask for syntax highlighting, I doubt many of them even realize such a concept exists.
- Webdevs, you have no idea how much you know (swizec.com)
- Add Syntax Highlighting To Your Blog With VIM (alexanderle.com)
- Clojure syntax highlighting via SyntaxHighlighter (briancarper.net)
- How-to use syntax highlighting using Notepad++ for SAP NetWeaver Identity Management scripts (weblogs.sdn.sap.com)
- Syntax highlighting of code blocks with Prettify (kungfuwit.wordpress.com)
Here's how it works 👇
Then get thoughtful letters 💌 on mindsets, tactics, and technical skills for your career.
"Man, love your simple writing! Yours is the only email I open from marketers and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"
Ready to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization
Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.
Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first 💰 on the side with ServerlessReact.Dev
By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️