{"id":"https://openalex.org/W2051204868","doi":"https://doi.org/10.1109/icsm.2012.6405249","title":"What makes a good code example?: A study of programming Q&amp;A in StackOverflow","display_name":"What makes a good code example?: A study of programming Q&amp;A in StackOverflow","publication_year":2012,"publication_date":"2012-09-01","ids":{"openalex":"https://openalex.org/W2051204868","doi":"https://doi.org/10.1109/icsm.2012.6405249","mag":"2051204868"},"language":"en","primary_location":{"id":"doi:10.1109/icsm.2012.6405249","is_oa":false,"landing_page_url":"https://doi.org/10.1109/icsm.2012.6405249","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2012 28th IEEE International Conference on Software Maintenance (ICSM)","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5032910867","display_name":"Seyed Mehdi Nasehi","orcid":null},"institutions":[{"id":"https://openalex.org/I168635309","display_name":"University of Calgary","ror":"https://ror.org/03yjb2x39","country_code":"CA","type":"education","lineage":["https://openalex.org/I168635309"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Seyed Mehdi Nasehi","raw_affiliation_strings":["Department of Computer Science University of Calgary Calgary, AB, Canada","Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada","institution_ids":["https://openalex.org/I168635309"]},{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#","institution_ids":["https://openalex.org/I168635309"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5017050197","display_name":"Jonathan Sillito","orcid":"https://orcid.org/0000-0003-2398-2599"},"institutions":[{"id":"https://openalex.org/I168635309","display_name":"University of Calgary","ror":"https://ror.org/03yjb2x39","country_code":"CA","type":"education","lineage":["https://openalex.org/I168635309"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Jonathan Sillito","raw_affiliation_strings":["Department of Computer Science University of Calgary Calgary, AB, Canada","Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada","institution_ids":["https://openalex.org/I168635309"]},{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#","institution_ids":["https://openalex.org/I168635309"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5070105322","display_name":"Frank Maurer","orcid":"https://orcid.org/0000-0002-0240-715X"},"institutions":[{"id":"https://openalex.org/I168635309","display_name":"University of Calgary","ror":"https://ror.org/03yjb2x39","country_code":"CA","type":"education","lineage":["https://openalex.org/I168635309"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Frank Maurer","raw_affiliation_strings":["Department of Computer Science University of Calgary Calgary, AB, Canada","Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada","institution_ids":["https://openalex.org/I168635309"]},{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#","institution_ids":["https://openalex.org/I168635309"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5080447640","display_name":"Chris Burns","orcid":"https://orcid.org/0000-0003-4614-7393"},"institutions":[{"id":"https://openalex.org/I168635309","display_name":"University of Calgary","ror":"https://ror.org/03yjb2x39","country_code":"CA","type":"education","lineage":["https://openalex.org/I168635309"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Chris Burns","raw_affiliation_strings":["Department of Computer Science University of Calgary Calgary, AB, Canada","Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada","institution_ids":["https://openalex.org/I168635309"]},{"raw_affiliation_string":"Department of Computer Science University of Calgary Calgary, AB, Canada#TAB#","institution_ids":["https://openalex.org/I168635309"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":4,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":37.481,"has_fulltext":false,"cited_by_count":290,"citation_normalized_percentile":{"value":0.99706526,"is_in_top_1_percent":true,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":98,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"25","last_page":"34"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9995999932289124,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9995999932289124,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11675","display_name":"Open Source Software Innovations","score":0.9955999851226807,"subfield":{"id":"https://openalex.org/subfields/1706","display_name":"Computer Science Applications"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11122","display_name":"Online Learning and Analytics","score":0.989799976348877,"subfield":{"id":"https://openalex.org/subfields/1706","display_name":"Computer Science Applications"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7718260288238525},{"id":"https://openalex.org/keywords/documentation","display_name":"Documentation","score":0.6325129270553589},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.6154031753540039},{"id":"https://openalex.org/keywords/answer-set-programming","display_name":"Answer set programming","score":0.5952037572860718},{"id":"https://openalex.org/keywords/set","display_name":"Set (abstract data type)","score":0.5519912242889404},{"id":"https://openalex.org/keywords/questions-and-answers","display_name":"Questions and answers","score":0.4592795670032501},{"id":"https://openalex.org/keywords/world-wide-web","display_name":"World Wide Web","score":0.4384388327598572},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.3520129323005676},{"id":"https://openalex.org/keywords/information-retrieval","display_name":"Information retrieval","score":0.3258100152015686}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7718260288238525},{"id":"https://openalex.org/C56666940","wikidata":"https://www.wikidata.org/wiki/Q788790","display_name":"Documentation","level":2,"score":0.6325129270553589},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.6154031753540039},{"id":"https://openalex.org/C182620335","wikidata":"https://www.wikidata.org/wiki/Q2852531","display_name":"Answer set programming","level":3,"score":0.5952037572860718},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.5519912242889404},{"id":"https://openalex.org/C3019144022","wikidata":"https://www.wikidata.org/wiki/Q4124998","display_name":"Questions and answers","level":2,"score":0.4592795670032501},{"id":"https://openalex.org/C136764020","wikidata":"https://www.wikidata.org/wiki/Q466","display_name":"World Wide Web","level":1,"score":0.4384388327598572},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.3520129323005676},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.3258100152015686}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1109/icsm.2012.6405249","is_oa":false,"landing_page_url":"https://doi.org/10.1109/icsm.2012.6405249","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2012 28th IEEE International Conference on Software Maintenance (ICSM)","raw_type":"proceedings-article"},{"id":"pmh:oai:CiteSeerX.psu:10.1.1.296.3364","is_oa":false,"landing_page_url":"http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.296.3364","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"http://ase.cpsc.ucalgary.ca/uploads/Publications/WhatMakeAGoodExample-ICSM2012.pdf","raw_type":"text"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"pdf":false,"grobid_xml":false},"content_urls":null,"referenced_works_count":35,"referenced_works":["https://openalex.org/W261871827","https://openalex.org/W1540823594","https://openalex.org/W1605824561","https://openalex.org/W1982235297","https://openalex.org/W1986541713","https://openalex.org/W1992154356","https://openalex.org/W2008107570","https://openalex.org/W2033025900","https://openalex.org/W2053154970","https://openalex.org/W2066998448","https://openalex.org/W2068160829","https://openalex.org/W2083582553","https://openalex.org/W2099769844","https://openalex.org/W2105016726","https://openalex.org/W2106112694","https://openalex.org/W2107376583","https://openalex.org/W2111882670","https://openalex.org/W2118435948","https://openalex.org/W2121818394","https://openalex.org/W2122401044","https://openalex.org/W2123246351","https://openalex.org/W2130781159","https://openalex.org/W2131348178","https://openalex.org/W2146889309","https://openalex.org/W2147743860","https://openalex.org/W2150494057","https://openalex.org/W2164803710","https://openalex.org/W2166271660","https://openalex.org/W2169968638","https://openalex.org/W2294861651","https://openalex.org/W2400323868","https://openalex.org/W3125137594","https://openalex.org/W4235278727","https://openalex.org/W4249157519","https://openalex.org/W6636162904"],"related_works":["https://openalex.org/W2618286804","https://openalex.org/W2329643025","https://openalex.org/W3131163342","https://openalex.org/W2166271660","https://openalex.org/W2092256833","https://openalex.org/W2142369114","https://openalex.org/W2002770077","https://openalex.org/W2361728394","https://openalex.org/W2352631095","https://openalex.org/W1969847042"],"abstract_inverted_index":{"Programmers":[0],"learning":[1,19,48],"how":[2],"to":[3,16,67],"use":[4],"an":[5,25,30],"API":[6,126],"or":[7],"a":[8,58,68],"programming":[9,69],"language":[10],"often":[11],"rely":[12],"on":[13],"code":[14],"examples":[15,39,110,116],"support":[17],"their":[18],"activities.":[20],"However,":[21],"what":[22],"makes":[23],"for":[24,122],"effective":[26,38,102],"ode":[27],"example":[28,129],"remains":[29],"open":[31],"question.":[32],"Finding":[33],"the":[34,37,44,62,91,107,115,123,125,139,142,145],"haracteristics":[35,100],"of":[36,46,61,90,101,141,147],"is":[40],"essential":[41],"in":[42],"improving":[43],"appropriateness":[45],"these":[47,95,148],"aids.":[49],"To":[50],"help":[51],"answer":[52],"this":[53],"question":[54],"we":[55,98],"have":[56,120],"onducted":[57],"qualitative":[59],"analysis":[60],"questions":[63],"and":[64,128,134],"answers":[65,77,84,97],"posted":[66],"Q&A":[70],"web":[71],"site":[72],"called":[73],"StackOverflow.":[74],"On":[75],"StackOverflow":[76],"can":[78],"be":[79,132],"voted":[80],"on,":[81],"indicating":[82],"which":[83],"were":[85],"found":[86,105],"helpful":[87],"by":[88],"users":[89],"site.":[92],"By":[93],"analyzing":[94],"well-received":[96],"identified":[99],"examples.":[103],"We":[104],"that":[106],"explanations":[108],"acompanying":[109],"are":[111],"as":[112,114,136,138],"important":[113],"themselves.":[117],"Our":[118],"findings":[119],"implications":[121],"way":[124],"documentation":[127],"set":[130],"should":[131],"developed":[133],"evolved":[135],"well":[137],"design":[140],"tools":[143],"assisting":[144],"development":[146],"materials.":[149]},"counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2025,"cited_by_count":9},{"year":2024,"cited_by_count":19},{"year":2023,"cited_by_count":20},{"year":2022,"cited_by_count":24},{"year":2021,"cited_by_count":25},{"year":2020,"cited_by_count":30},{"year":2019,"cited_by_count":34},{"year":2018,"cited_by_count":33},{"year":2017,"cited_by_count":15},{"year":2016,"cited_by_count":28},{"year":2015,"cited_by_count":25},{"year":2014,"cited_by_count":16},{"year":2013,"cited_by_count":10}],"updated_date":"2026-06-11T09:08:48.828518","created_date":"2025-10-10T00:00:00"}
