{"id":115,"date":"2008-08-21T21:21:10","date_gmt":"2008-08-22T02:21:10","guid":{"rendered":"http:\/\/vgable.com\/blog\/2008\/08\/21\/are-line-numbers-just-clutter\/"},"modified":"2008-08-21T21:21:12","modified_gmt":"2008-08-22T02:21:12","slug":"are-line-numbers-just-clutter","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2008\/08\/21\/are-line-numbers-just-clutter\/","title":{"rendered":"Are Line Numbers Just Clutter?"},"content":{"rendered":"<p>I think numbering every line in a source-code editor is (very mildly) harmful.  It adds visual clutter; and that&#8217;s a bad thing.<\/p>\n<p>Often you need to find a particular line number, say to locate a failed <code>assert()<\/code> &#8212; but every programming editor has a &#8220;Go to line#&#8221; command, which is faster to use.<\/p>\n<p>Showing the line number the cursor is on is worthwhile, because almost no display space is lost.<\/p>\n<p>If you have your left-hand column set to show you line numbers, try turning it off and see what happens.  You may be able to focus on your code ever so slightly better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think numbering every line in a source-code editor is (very mildly) harmful. It adds visual clutter; and that&#8217;s a bad thing. Often you need to find a particular line number, say to locate a failed assert() &#8212; but every programming editor has a &#8220;Go to line#&#8221; command, which is faster to use. Showing the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,8],"tags":[145,146],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-design","category-programming","category-usability","tag-clutter","tag-editors"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":0,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}