Live data from Hacker News

Books with syntax highlighting, or why I prefer reading code from screen than paper

news.ycombinator.com

1–10 of 15 posts

Books with syntax highlighting, or why I prefer reading code from screen than paper

#1
I recently noted an odd phenomenon. Maybe it's just me, but I suspect it's not.

One case: I own the paper Book of DJango. But I keep noticing I prefer to read it from the screen of my laptop. I also read newspapers, but prefer to read those from paper.

The reason for wanting to read code from screen is because I've become so used to syntax highlighting, whether in vim/gedit/TextMate/eTextEditor or on websites. I've come to expect it from he internet, where I do most of my learning. Going back to textbooks, black code on a white background seems like a massive blur of text.

Thing is, I'd happily pay for The Book or DJango, or any other text, in full color with syntax highlighting.

Am I the only one?

Re: Books with syntax highlighting, or why I prefer reading code from screen than paper

#8
post #6

The real problem is not being able to grep books.

That reminds me... I recently used my old, inherited book of my grandmother's cake recipes. I know there's a recipe for a cake I like in there, but for the life of me I cannot find it (the book is huge).

I cursed about seven times before giving up.

Re: Books with syntax highlighting, or why I prefer reading code from screen than paper

#9
I like reading from the book most of the time.

One reason could be that I've paid for it and feel like I've made a commitment and learn it, so it gives me some more motivation.

I can doodle, and write down thoughts easier than doing it on the web or using one of the features in any pdf viewing app.

Post reply on HN