Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
cereallarceny
11y ago
0 comments
Share
Really? Perhaps it's just a matter of preference, but this coding style drives me up a fucking wall. Clutters the hell out of your code.
0 comments
default
newest
oldest
webmaven
11y ago
I guess that depends on whether the settings you are passing to the chart are coming from somewhere else (say, an API call). If you can just get a JSON object from a backend and pass it directly to the chart, things become
much
simpler in your code.
j
/
k
navigate · click thread line to collapse