Comment

Comment by rsj_hn

I saw a very similar thing with eval. There was an evaluation of a nested JSON object

    x["a"]["b"]["c"] 
And the developer decided that this was best evaluated by eval. During the code review phase I talked to them and asked why they were using eval, and they didn't know it could be evaluated directly as they were a little unclear if javascript supported that syntax.
parent rsj_hn 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton