eval isn't evil, but it has potential for evil. using eval in for configuration files is not bad, because you know what they contain, after all, you are editing them by hand.
if you are sending JSON5 or eval'd js remotely that is probably a bad idea. On Tue, May 29, 2012 at 4:24 PM, Dick Hardt <[email protected]> wrote: > > On May 28, 2012, at 6:35 PM, Arunoda Susiripala wrote: > >> Why do you need serialization for Date. >> Just save the timestamp. > > Easier to hand edit which was one of the goals of this project. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
