Hacker News new | past | comments | ask | show | jobs | submit login

I tend to agree that sections headings are OK (although it might be better to extract the sections to separate functions) but some people take it further than that.

Today I ran into this piece of code:

  // POST
  xhr.open("POST", "...");
  // Content-Type
  xhr.setRequestHeader("Content-Type", "...");
  // SOAPAction
  xhr.setRequestHeader("SOAPAction", "...");



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: