Skip to main content
1 of 3
SunnyRed
  • 3.5k
  • 14
  • 5

Should essential code be in a seperate line

This is a minor thing, but still.

When I look at the following accepted and popular answer http://stackoverflow.com/a/4813235/367529, 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.

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

SunnyRed
  • 3.5k
  • 14
  • 5