{"id":"https://openalex.org/W4284665222","doi":"https://doi.org/10.1145/3510003.3519016","title":"Imperative versus declarative collection processing: an RCT on the understandability of traditional loops versus the stream API in Java","display_name":"Imperative versus declarative collection processing: an RCT on the understandability of traditional loops versus the stream API in Java","alternate_titles":[],"publication_year":2022,"publication_date":"2022-05-21","ids":{"openalex":"https://openalex.org/W4284665222","doi":"https://doi.org/10.1145/3510003.3519016"},"language":"en","primary_location":{"id":"doi:10.1145/3510003.3519016","doi":"https://doi.org/10.1145/3510003.3519016","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3510003.3519016","pdf_url":null,"source":{"id":"https://openalex.org/S4210203175","display_name":"ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","issn_l":"0270-5257","issn":["0270-5257","1558-1225"],"is_oa":false,"is_in_doaj":false,"is_core":true,"listed_in":["cwts-core","norway-2"],"host_organization":"https://openalex.org/P4310319808","host_organization_name":"Institute of Electrical and Electronics Engineers","host_organization_lineage":["https://openalex.org/P4310319808"],"host_organization_lineage_names":["Institute of Electrical and Electronics Engineers"],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 44th International Conference on Software Engineering","raw_type":"proceedings-article"},"parent_works":[],"lineage":["https://openalex.org/W4284665222"],"child_works_count":0,"type":"conference-paper","is_traditional":true,"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/A5016284262","display_name":"Nils Mehlhorn","orcid":null,"observed_orcids":[]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Nils Mehlhorn","raw_affiliation_strings":["Independent Consultant, Essen"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Independent Consultant, Essen","institution_ids":[]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5027034338","display_name":"Stefan Hanenberg","orcid":"https://orcid.org/0000-0001-5936-2143","observed_orcids":["https://orcid.org/0000-0001-5936-2143"]},"institutions":[{"id":"https://openalex.org/I62318514","display_name":"University of Duisburg-Essen","ror":"https://ror.org/04mz5ra38","country_code":"DE","type":"education","lineage":["https://openalex.org/I62318514"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Stefan Hanenberg","raw_affiliation_strings":["University of Duisburg-Essen, Germany"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"University of Duisburg-Essen, Germany","institution_ids":["https://openalex.org/I62318514"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":0.8629,"has_fulltext":false,"cited_by_count":8,"citation_normalized_percentile":{"value":0.70586733,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":88,"max":97},"biblio":{"volume":null,"issue":null,"first_page":"1157","last_page":"1168"},"is_retracted":false,"is_pulled":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.5752000212669373,"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.5752000212669373,"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/T10126","display_name":"Logic, programming, and type systems","score":0.20399999618530273,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"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/T10533","display_name":"Teaching and Learning Programming","score":0.16249999403953552,"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/lambda-expressions","display_name":"lambda expressions","score":0.7670000195503235},{"id":"https://openalex.org/keywords/declarative-programming","display_name":"declarative programming","score":0.9710000157356262},{"id":"https://openalex.org/keywords/code-understandability","display_name":"code understandability","score":0.7730000019073486},{"id":"https://openalex.org/keywords/code-readability","display_name":"code readability","score":0.6179999709129333},{"id":"https://openalex.org/keywords/reaction-time-psychology","display_name":"reaction time (psychology)","score":0.7889999747276306},{"id":"https://openalex.org/keywords/programming-errors","display_name":"coding errors","score":0.6259999871253967},{"id":"https://openalex.org/keywords/collection-processing","display_name":"collection processing","score":0.5450000166893005}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8011153936386108},{"id":"https://openalex.org/C55439883","wikidata":"https://www.wikidata.org/wiki/Q360812","display_name":"Correctness","level":2,"score":0.7735135555267334},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.6899060010910034},{"id":"https://openalex.org/C170130773","wikidata":"https://www.wikidata.org/wiki/Q216378","display_name":"Usability","level":2,"score":0.6035069823265076},{"id":"https://openalex.org/C548217200","wikidata":"https://www.wikidata.org/wiki/Q251","display_name":"Java","level":2,"score":0.590259850025177},{"id":"https://openalex.org/C107027933","wikidata":"https://www.wikidata.org/wiki/Q2006448","display_name":"Stream processing","level":2,"score":0.41660866141319275},{"id":"https://openalex.org/C77088390","wikidata":"https://www.wikidata.org/wiki/Q8513","display_name":"Database","level":1,"score":0.32671478390693665},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.25834667682647705}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3510003.3519016","doi":"https://doi.org/10.1145/3510003.3519016","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3510003.3519016","pdf_url":null,"source":{"id":"https://openalex.org/S4210203175","display_name":"ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","issn_l":"0270-5257","issn":["0270-5257","1558-1225"],"is_oa":false,"is_in_doaj":false,"is_core":true,"listed_in":["cwts-core","norway-2"],"host_organization":"https://openalex.org/P4310319808","host_organization_name":"Institute of Electrical and Electronics Engineers","host_organization_lineage":["https://openalex.org/P4310319808"],"host_organization_lineage_names":["Institute of Electrical and Electronics Engineers"],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 44th International Conference on Software Engineering","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[],"study_designs":[{"id":"https://openalex.org/study-designs/randomized-controlled-trial","display_name":"Randomized Controlled Trial"},{"id":"https://openalex.org/study-designs/clinical-trial","display_name":"Clinical Trial"}],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":36,"referenced_works":["https://openalex.org/W561751346","https://openalex.org/W591782204","https://openalex.org/W593998138","https://openalex.org/W1649645444","https://openalex.org/W1770006921","https://openalex.org/W1975976188","https://openalex.org/W2004771867","https://openalex.org/W2018696645","https://openalex.org/W2026371905","https://openalex.org/W2048960787","https://openalex.org/W2079512738","https://openalex.org/W2089674328","https://openalex.org/W2115998851","https://openalex.org/W2125281699","https://openalex.org/W2144015080","https://openalex.org/W2150699386","https://openalex.org/W2295373235","https://openalex.org/W2358692116","https://openalex.org/W2572482456","https://openalex.org/W2597465230","https://openalex.org/W2620436109","https://openalex.org/W2759963882","https://openalex.org/W2764146461","https://openalex.org/W2772922594","https://openalex.org/W2795401142","https://openalex.org/W2800042103","https://openalex.org/W2917373358","https://openalex.org/W2973282825","https://openalex.org/W3006568433","https://openalex.org/W3016619017","https://openalex.org/W3030541726","https://openalex.org/W3146261931","https://openalex.org/W4200204381","https://openalex.org/W4229753260","https://openalex.org/W6634508966","https://openalex.org/W6637879497"],"related_works":["https://openalex.org/W4384302750","https://openalex.org/W4327843956","https://openalex.org/W2973282825","https://openalex.org/W2809942263","https://openalex.org/W6890011847","https://openalex.org/W6957957128","https://openalex.org/W2182090001","https://openalex.org/W4200204381","https://openalex.org/W7051846625"],"abstract_inverted_index":{"Java":[0],"introduced":[1],"in":[2,28,48,52,221],"version":[3],"8":[4],"with":[5,77,98,103,143],"the":[6,35,43,68,78,91,99,109,122,126,129,138,144,150,154,157,161,184,192,196,198,209],"Stream":[7,44,100,110,130,145,162,210],"API":[8,20,45,101,111,131,146,163,211],"means":[9],"to":[10,25,50,89,149,223],"operate":[11],"on":[12,67,74,121,160,183,206,213],"collections":[13,27,207],"using":[14,39,208],"lambda":[15,181,214],"expressions.":[16],"Since":[17],"then,":[18],"this":[19],"is":[21,46,56],"an":[22],"alternative":[23],"way":[24],"handle":[26],"a":[29,62,113,172,187,217],"more":[30,165],"declarative":[31,176,204],"manner":[32],"instead":[33],"of":[34,54,70,128,175,180,186],"traditional,":[36],"imperative":[37],"style":[38],"loops.":[40,225],"However,":[41],"whether":[42],"beneficial":[47],"comparison":[49,222],"loops":[51],"terms":[53,179],"usability":[55,185],"unclear.":[57],"The":[58,105],"present":[59,193,199],"paper":[60],"introduces":[61],"randomized":[63],"control":[64],"trial":[65],"(RCT)":[66],"understandability":[69],"collection":[71,94],"operations":[72,95],"performed":[73],"20":[75],"participants":[76,139,155],"dependent":[79],"variables":[80],"response":[81,123],"time":[82],"and":[83,116,153],"correctness.":[84],"As":[85],"tasks,":[86],"subjects":[87],"had":[88],"determine":[90],"results":[92,106],"for":[93],"(either":[96],"defined":[97],"or":[102],"loops).":[104],"indicate":[107],"that":[108,203],"has":[112,216],"significant":[114],"(p<.001)":[115],"large":[117],"[EQUATION]":[118],"positive":[119,219],"effect":[120,174,220],"times.":[124],"Furthermore,":[125],"usage":[127],"caused":[132],"significantly":[133],"less":[134],"errors.":[135],"And":[136],"finally,":[137],"perceived":[140],"their":[141],"speed":[142],"higher":[147],"compared":[148],"loop-based":[151],"code":[152,158,205],"considered":[156],"based":[159,212],"as":[164],"readable.":[166],"Hence,":[167],"while":[168],"existing":[169],"studies":[170],"found":[171,195],"negative":[173],"constructs":[177],"(in":[178],"expressions)":[182],"main":[188],"stream":[189],"programming":[190],"language,":[191],"study":[194,200],"opposite:":[197],"gives":[201],"evidence":[202],"expressions":[215],"large,":[218],"traditional":[224]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4284665222","counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2024,"cited_by_count":4},{"year":2023,"cited_by_count":2}],"updated_date":"2026-11-16T12:05:36.265796","created_date":"2022-07-08T00:00:00"}
