A place to cache linked articles (think custom and personal wayback machine)
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.md 4.5KB

4 år sedan
12345678910111213141516171819202122232425262728293031
  1. title: Software engineers should write
  2. url: http://www.shubhro.com/2014/12/27/software-engineers-should-write/
  3. hash_url: c41b25037764a98ce3ab87adb5fc88b8
  4. <p>In elementary school, there were “math kids” and there were “English kids”. You were classified by the other kids’ impression of your prowess in each subject.</p>
  5. <p>I was a math kid. So I majored in computer science and set off to be a software engineer. Along the way, though, the “math kid”/”English kid” designation never really wore off. If anything, it got stronger. The engineers I meet today cringe at the thought of writing an essay. And the writers I meet cringe at the thought of writing code.</p>
  6. <p>What a shame! An engineer who writes code should also write essays.</p>
  7. <p>Software engineers should write because it promotes many of the same skills required in programming. A core skill in both disciplines is an ability to <em>think clearly</em>. The best software engineers are great writers because their prose is as logical and elegant as their code.</p>
  8. <p>Code and essays have a lot more in common. Both begin as a blank slate and an idea, then end as a discrete product for an intended audience. The product is a sequence of logical statements, bundled into modular units– whether it be functions or paragraphs. Like good prose, good code is <a href="http://www.folklore.org/StoryView.py?story=Negative_2000_Lines_Of_Code.txt">concise</a> (think “<a href="https://robinwinslow.co.uk/2013/11/22/expressive-coding/">expressive</a>”). Bad code wastes CPU cycles; bad essays waste brain cycles.</p>
  9. <p>When closing in on a finished product, the engineer feels the same uneasiness as the weary writer. As with essays, software never quite feels “done”. It nudges for more of the engineer’s time: another feature to be built, another module that needs refactoring. He/she’s afraid it won’t be the best representation of his/her work. Oh well. Ship it.</p>
  10. <p>Software engineers should write because our craft is increasingly collaborative. Open source projects invite worldwide participation, while industry products often require an army of engineers. (Google Maps has <a href="http://www.businessinsider.com/to-do-what-google-does-in-maps-apple-would-have-to-hire-7000-people-2012-6">1100 full-time employees</a>!) Good writing– whether it be in a GitHub comment, code review, or technical documentation– facilitates clear, concise communication for projects like these to move forward.</p>
  11. <p>Even if a project doesn’t require communication, writing about software in general promotes learning and important discussions. We don’t have to learn from RFC specs and technical manuals, thanks to tutorials written by other engineers. In technical discussions, only so much opinion can be stuffed into a Hacker News comment or a tweet. The rest begs to be channeled into a blog post.</p>
  12. <p>On the topic of blog posts, put some time into them. Good writing <a href="http://goinswriter.com/the-difference-between-good-writers-and-bad-writers/">takes time</a>. It’s natural to write a “sloppy copy” off the bat, then improve the quality over <a href="http://www.paulgraham.com/writing44.html">several revisions</a>. If you feel too busy to blog, at a loss for topics, or worried about your opinion being on the public record, give Steve Yegge’s <a href="https://sites.google.com/site/steveyegge2/you-should-write-blogs"><em>You Should Write Blogs</em></a> ten minutes of your time. Even if it doesn’t convince you, I think you’ll enjoy the read.</p>
  13. <p>Software engineers should write because they might actually <em>enjoy</em> writing. Many of us are motivated by the potential for our software to have “impact”, to make a difference in people’s lives.</p>
  14. <p>In the same way, writing is a powerful vehicle for impact. The blog post on management helps a manager invigorate his team with motivation. The tutorial on programming sparks a student’s interest in computer science. The essay on career advice inspires a graduate to pursue a new career path.</p>
  15. <p>Even if nobody reads your essay, writing it will make an impact on <em>you</em>. It will clarify your opinion on a topic and strengthen– or even weaken– your beliefs. The process alone of putting jumbled thoughts into concrete words is valuable.</p>
  16. <p>Writing offers the same sense of impact that motivates an engineer to write software. Combine this with how it promotes skills useful in software engineering and facilitates collaboration, then suddenly writing appears to be a worthwhile activity.</p>
  17. <p>Even for the “math kids”.</p>