Hacker News new | ask | show | jobs
by judk 4437 days 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.

2 comments

These 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.

so 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/fe691fc61c38a79b09...