News for hackers. Stuff that matters.
Re:Why MIT switched from Scheme to Python by ilkhd2 on Wednesday March 25, 2009 @04:27AM (#531615)
1.hmm, well, if you try it you'll see that at least in the area of programming languages, after spending some time you'll see that you reinvented s-expressions. 2. can be very interesting to see for example this (sum of every vector-element) in json/yaml...

(defn sum-vec [vec] (let [vec-len (count vec)] (loop [idx 0 acc 0] (if (< idx vec-len) (recur (inc idx) (+ acc (vec idx))) acc))))

Re:Why MIT switched from Scheme to Python by smallpaul on Wednesday March 25, 2009 @11:51AM (#531944)
I don't want that in my json/yaml.

If I have Javascript then I already have mobile code.

If I'm using json in a situation where I don't have a Javascript interpreter, then I probably don't have a Lisp interpreter around either.

Re:Why MIT switched from Scheme to Python by failrate on Wednesday March 25, 2009 @02:33PM (#532210)
A decent JSON parser is also only a day's worth of work or less in just about any language.

My experience is that it is as little as and possibly less initial development and maintenance as a custom flat-file format or a really robust csv parser.