3 ms·
Those labelled jumps are equivalent to common unlabeled continues, but safer. The braceless do-whiles are isolated by blank lines and have leading comments. I
by judk 13y ago
Those labelled jumps are equivalent to common unlabeled continues, but safer.
The braceless do-whiles are isolated by blank lines and have leading comments.
I'd prefer bostock's code over the average uncommented code with cryptic abbreviated var names.
- kabdib 13y agoThese would basically be "time for serious feedback" at any place I've worked in the last 25 years. Seriously, the style is going to generate errors.
- cwmma 13y agoso bostock has gotten better, but there was a time (also known as when I did a lot of stuff with topojson and unraveled how it worked) where it looked like this https://github.com/mbostock/topojson/blob/fe691fc61c38a79b093807bd86117e5d13a0d38c/lib/topojson/topology.js https://github.com/mbostock/topojson/blob/fe691fc61c38a79b09...