News for hackers. Stuff that matters.
Re:Why is JSON so popular? Developers want out of the syntax... by stcredzero on Friday March 19, 2010 @01:33PM (#1204656)
NO. Sorry but you're doing it wrong. Relying on the editor to highlight parentheses is a highly inefficient and error-prone way to work. It's distracting, it wastes mental cycles and inhibits flow.

The correct way is to configure emacs so that when you press a certain key (in my case, right shift because I configured my keyboard so I can activate left shift with my thumb), emacs inserts "()" and puts the cursor in the parentheses. No need to remember or count closing parentheses this way.

No, sorry you are doing it "wrong!" :) I also use the insert () technique. I basically use whichever technique is optimal in context. Please note that your assertions about flow and distractions are highly subjective.

http://www.cyberbore.com/puzzle/klok.html

Incidentally, I no longer use emacs, and I don't write Lisp.

Re:Why is JSON so popular? Developers want out of the syntax... by Hexstream on Friday March 19, 2010 @06:46PM (#1205493)
If there's backing to the assertion that I'm doing it wrong in there, I didn't find it.

Incidentally, I use emacs and Lisp every day.

Re:Why is JSON so popular? Developers want out of the syntax... by stcredzero on Saturday March 20, 2010 @11:01PM (#1207448)
Yes, so your coding context is very different from mine. I don't think you can make a very cogent claim of "wrongness."