Hacker News new | ask | show | jobs
by mercurial 4626 days ago
> It simplifies generating JSON, since you don't need a special case for the last item

In which language can't you do array.join(",")? You can even do that in Java with one of the myriad of string libraries. I haven't hand-coded joins since (at least) six or seven years.

1 comments

Join doesn't help to stream to JSON from a database cursor. Unless you buffer the response first which is pretty horrid.
Fair point.