Ask HN: CS Researchers, why did you choose your subfield and niche?
My advice: don&#x27;t worry too much about picking a field (and definitely don&#x27;t focus too much about what people who happen to be the same age as you are up to -- it&#x27;s a big world).<p>&#x27;elonmollusc&#x27;s advice is really sound: at least at the beginning, choose the advisor or collaborators, not the subfield. You can probably get yourself interested in <i>any</i> problem if you put effort into it and enjoy the work or the people you&#x27;re working with. And even if you don&#x27;t enjoy it, you&#x27;ll learn something about your own preferences and what kind of environment and style of work you want to build around yourself. Is there a class you&#x27;ve taken where you really enjoyed the material or the professor&#x27;s style? Go to their office hours and talk to them about research. It&#x27;s even better if you bring some of your own ideas for what you might be excited to work on (perhaps keying off some of the professor&#x27;s own recent work; do you have an idea for a way to extend it or a new place to try it?) -- faculty love it when students are a source of new ideas.<p>If you want to do grad school in CS, here is some stock advice:<p>- Read some of the essays that people have written about &quot;what grad school in CS is like.&quot; I did an interview on this with my friend Eugene Wu (<a href="http:&#x2F;&#x2F;www.pgbovine.net&#x2F;PhD-interview-eugene-wu-keith-winstein.htm" rel="nofollow">http:&#x2F;&#x2F;www.pgbovine.net&#x2F;PhD-interview-eugene-wu-keith-winste...</a>), and our friend Adam Marcus (<a href="http:&#x2F;&#x2F;marcua.net&#x2F;writing&#x2F;gradschool-guide&#x2F;" rel="nofollow">http:&#x2F;&#x2F;marcua.net&#x2F;writing&#x2F;gradschool-guide&#x2F;</a>) also wrote a guide after finishing his PhD. Our other friend Phil Guo also wrote a depressing book about his (not-so-good, but also not horrible) time in grad school at Stanford (<a href="http:&#x2F;&#x2F;pgbovine.net&#x2F;PhD-memoir.htm" rel="nofollow">http:&#x2F;&#x2F;pgbovine.net&#x2F;PhD-memoir.htm</a>), and he ultimately ended up in a great job where he seems happy and productive (and now tenured) too.<p>- Read some of the advice for grad-school applicants, e.g. Michael Ernst&#x27;s (<a href="https:&#x2F;&#x2F;homes.cs.washington.edu&#x2F;~mernst&#x2F;advice&#x2F;" rel="nofollow">https:&#x2F;&#x2F;homes.cs.washington.edu&#x2F;~mernst&#x2F;advice&#x2F;</a>) and Jennifer Rexford&#x27;s (<a href="https:&#x2F;&#x2F;www.cs.princeton.edu&#x2F;~jrex&#x2F;advice.html" rel="nofollow">https:&#x2F;&#x2F;www.cs.princeton.edu&#x2F;~jrex&#x2F;advice.html</a>) and Justine Sherry&#x27;s (<a href="http:&#x2F;&#x2F;www.eecs.berkeley.edu&#x2F;~justine&#x2F;advice.pdf" rel="nofollow">http:&#x2F;&#x2F;www.eecs.berkeley.edu&#x2F;~justine&#x2F;advice.pdf</a>)<p>- Think real carefully about &quot;Why do you want to go to grad school?&quot; Do you want to use computational thinking to help people in a tangible way? Or do you want to learn about computer science for its own sake, as a quest for knowledge? Do you think you would enjoy a teaching-focused job, or an industrial research job, and these require a Ph.D.? All of these can be great answers, but they are different. What projects or independent activities have you done (things nobody told you to do) that you enjoyed or found satisfying? How can you aim to best continue that? (By contrast, &quot;I did well in undergrad and would like to continue my education&quot; is not a good reason to start a Ph.D. in computer science!)<p>- Consider taking time off between undergrad and grad school, or at least deferring for a year after you are accepted. Depending on the subfield, the people that do this often have a real leg up, because they can bring a nontraditional perspective to the table. There&#x27;s little benefit in being &quot;smarter&quot; than everybody else in the group if all that means is that you are saying something first that somebody else was going to say anyway 90 seconds later. It&#x27;s better to be the one contributing ideas (about new problems worthy of attack OR ways to solve them) or a point of view that wasn&#x27;t going to get contributed at all. And the people who have exposed themselves to more diverse environments often have had more time to understand themselves and what kind of environment they need to build around themselves (advising, style of work) to be happy and productive. Depending on your advisor&#x27;s style and the culture of the department, grad school can be almost a totally unstructured and self-directed environment (quite different from undergrad) so you really don&#x27;t want to go into it as a sort of default. (If you are saying to yourself, &quot;but I don&#x27;t <i>know</i> what I would do during that year off,&quot; that is not a good reason to make grad school become your default! By contrast, if you are saying, &quot;but I am in theory or another mathematically inclined subfield and literally the only way to get better at it is to keep doing it; there is nothing the outside world has to offer me,&quot; then maybe you are right -- theorists often do seem to adhere to this kind of thinking.)<p>- Start thinking about how to demonstrate (by December of the year when you plan to apply) to your letter writers that you have the initiative&#x2F;resourcefulness&#x2F;creativity&#x2F;grit and can see a project through to completion even over obstacles. (Ideally, by participating in a research project that submits a paper for publication.) The letters of recommendation do matter a lot, probably more than anything else in the application, and the letters will ideally be from people that the readers can trust are well-calibrated to speak to your promise at doing CS research.