{"id":6227,"date":"2017-05-21T10:30:00","date_gmt":"2017-05-21T14:30:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6227"},"modified":"2017-05-21T10:30:40","modified_gmt":"2017-05-21T14:30:40","slug":"35-coding-habits-to-avoid","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6227","title":{"rendered":"35 Coding Habits to Avoid"},"content":{"rendered":"<p> <a href=\"https:\/\/chrismm.com\">Christian Maioli Mackeprang<\/a> has an interesting post on <a href=\"https:\/\/chrismm.com\/blog\/avoid-these-35-habits-that-lead-to-unmaintainable-code\/\">35 habits that can negatively affect your coding<\/a>. I&rsquo;ll let you read them and make your own judgments as to their value for your situation but I&rsquo;d like to comment on two of them. <\/p>\n<p> The first, #20: Not bothering with mastering your tools and IDE, really resonated with me. Lately, I&rsquo;ve spent more time than ever working on learning to be a more effective Emacs user. This is true even though I&rsquo;ve been using Emacs for almost a decade. Every Emacs user knows there&rsquo;s always something new to learn so you can probably never master the editor but the journey <i>can<\/i> make you appreciably more effective. I&rsquo;ve found that the work I&rsquo;ve put in has paid dividends that have more than made up for my effort. <\/p>\n<p> The second bad habit, #22: Romanticizing your developer toolkit, is in some sense the converse of #20. I didn&rsquo;t like it as much as #20 because it&rsquo;s pretty clear that I am exceedingly attached to Emacs to the point that it is the epicenter of my workflow. Still, Emacs can&rsquo;t do everything and, of course, I use other tools. Some of those tools make more sense for my workflow than using the corresponding capability of Emacs. I keep my calendar in the Apple Calendar app rather than any of the (perfectly adequate) calendar solutions in Emacs because it&rsquo;s easier to sync it across all my devices and share some events with others. <\/p>\n<p> For editing, though, I will <i>always<\/i> turn to Emacs. You can make the case that other editors or IDEs might be better for certain situations&#x2014;the Racket IDE for Scheme or Eclipse for Java, for example&#x2014;but the pain of switching to another editor and abandoning, even temporarily, my editor muscle memory means that Emacs is a better solution <i>for me<\/i>. Your mileage may vary, of course. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Christian Maioli Mackeprang has an interesting post on 35 habits that can negatively affect your coding. I&rsquo;ll let you read them and make your own judgments as to their value for your situation but I&rsquo;d like to comment on two &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6227\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[18,37],"class_list":["post-6227","post","type-post","status-publish","format-standard","hentry","category-programming","tag-emacs","tag-tech"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6227"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6227\/revisions"}],"predecessor-version":[{"id":6228,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6227\/revisions\/6228"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}