Related Experiment Video
Updated: Feb 9, 2026

Author Spotlight: Learning Systematic Bronchoscopy in a Simulation-Base Setting
Published on: June 23, 2023
The influence of commenting validity, placement, and style on perceptions of computer code trustworthiness: A
Gene M Alarcon1, Rose F Gamble2, Tyler J Ryan3
1Air Force Research Laboratory, United States.
Abstract:
Computer programs are a ubiquitous part of modern society, yet little is known about the psychological processes that underlie reviewing code. We applied the heuristic-systematic model (HSM) to investigate the influence of computer code comments on perceptions of code trustworthiness. The study explored the influence of validity, placement, and style of comments in code on trustworthiness perceptions and time spent on code. Results indicated valid comments led to higher trust assessments and more time spent on the code. Properly placed comments led to lower trust assessments and had a marginal effect on time spent on code; however, the effect was no longer significant after controlling for effects of the source code. Low style comments led to marginally higher trustworthiness assessments, but high style comments led to longer time spent on the code. Several interactions were also found. Our findings suggest the relationship between code comments and perceptions of code trustworthiness is not as straightforward as previously thought. Additionally, the current paper extends the HSM to the programming literature.
Related Concept Videos
The Representativeness Heuristic
The Availability Heuristic
The Anchoring-and-Adjustment Heuristic
Information Processing Approach
Heuristics
People often rely on heuristics when faced with an overload of information, limited time, low importance of the decision, limited information, or when a heuristic readily comes to mind. For...
Chemical Equilibria: Systematic Approach to Equilibrium Calculations
The first step is to identify all the chemical reactions involved, The...

