Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What are some of the most elegant codebases in your favorite language?. Parent comment
I usually end up always wrapping the json_decode in an eval to catch the error and handle it in an easier to understand fashion.
But I agree though, its nice how json and perl data objects pretty much map to each other. It's great.
There are no comments on this comment yet.
I usually end up always wrapping the json_decode in an eval to catch the error and handle it in an easier to understand fashion.
But I agree though, its nice how json and perl data objects pretty much map to each other. It's great.