Loading ...
Sorry, an error occurred while loading the content.

958Re: json_parse.js

Expand Messages
  • Douglas Crockford
    Mar 27, 2008
    • 0 Attachment
      --- In json@yahoogroups.com, Jorge Chamorro <jorge@...> wrote:
      > Line 170 is an enigma :
      > (var) value, // Place holder for the value function.
      > As (var) value = f() is defined later on @line 230... does 170 really
      > make any difference ?

      As a matter of discipline, I always declare things before I use them.

      > Also, I wonder why did you "feel the need" to rewrite the parser
      > without RegExps ?

      Some people are distrustful of regular expressions. An implementation
      that does not use regular expressions may be more easily ported to
      other languages.
    • Show all 4 messages in this topic