Open samanthacsik opened 3 years ago
From Jenny Bryan:
for #rstats, at least, there are ways to do very targeted searches on GitHub that are extremely fruitful
— Jenny Bryan (@JennyBryan) September 14, 2021
examples: limiting to a specific owner (e.g. cran or tidyverse or whatever), specific folder (e.g. R/)
great way to find examples of stuff working "in the wild"
From Wai-Yin Kwan (reached out via Slack after seeing tweet):
I saw your question about teaching people to google for code help. I’m a software developer who has taught other people how to code. I worked at artic data center for a few months late 2020-early 2021. 1) Emphasis googling for code help is a natural part of writing code; too many people new to coding see googling as a sign that they are bad at coding. This problem is especially prevalent in the science researcher community where people have a higher degree of self-doubt in their coding abilities than the software development community. 2) Treat googling for code help as a skill that will get better over time. As you learn more, you will be able to create better search queries. 3) Once they find a search result, it’s ok in the beginning to copy and paste without fully understanding what the code does. Over time, as they get better at coding, then the code that other people post will make sense. 4) Look at the date for the search results. For languages and libraries that are actively developed, be weary of search results from many years ago. 5) Search github issues and pull request if there are problems with a particular library. 6) Be weary of blogs and sites just repost answers from other blogs and stackoverflow. They are just doing that to get money from Google ads. 7) Read multiple search results. Sometime one explanation will make sense in a way that another explanation will not. 8) If there is a bug in the software, it will often times take looking at multiple search results to fix the bug since the bug can be the result of the setup on a person’s computer.
Random Thoughts (pulled from https://github.com/UCSB-MEDS/DTC-workshop-dev/issues/1):
I've been getting quite a few DMs from students asking me to teach them how to do very specific things with their distill sites. Mostly, I've just had to google around/find examples myself to learn and then relay information. Not sure what a general "how to google" workshop might look, but it's a pretty critical skill that students are going to have to practice a bunch over the next year.
Some resources/ideas:
From Christine Parisek:
Typing [r] in front of the search phrase helps to pull up only #rstats related results — that’s my favorite code googling tip.
— Christine Parisek (@caparisek) September 15, 2021
From JD Long: