Skip to main content
3 of 3
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Should essential code be on a separate line?

For example, when I look at this accepted and popular answer, it takes me additional time to see the main solution. It is hidden between the short explanation and, at first sight, the reference link seems to be the way to go. In comparison, the more formatted code in the second answer can be grasped more quickly.

Should essential code be on a separate line and/or is editing this considered useful?

SunnyRed
  • 3.5k
  • 14
  • 5