Back to blog
Why Turns Are Better Than Radians in Programming
IT Support#mathematics#programming#graphics#game-development#trigonometry

Why Turns Are Better Than Radians in Programming

20 August 2026·1 min read·Hacker News·Summarized by Sovin AI

Summary

A thought-provoking article from Computer Enhance argues that measuring angles in 'turns' rather than radians leads to cleaner and more intuitive code. The post gained significant traction on Hacker News with 134 points and 58 comments. The author makes a case for rethinking a deeply ingrained convention in mathematics and programming.

A compelling article on Computer Enhance has sparked debate in the programming community by challenging one of the most deeply entrenched conventions in mathematics and software development. The author argues that measuring angles in 'turns', where a complete rotation equals 1.0, is fundamentally more intuitive and practical than using radians, which represent a full circle as 2π.

The core argument is straightforward: radians force developers to constantly reason about irrational multiples of π, introducing unnecessary cognitive overhead and potential for bugs. With turns, half a rotation is 0.5, a quarter turn is 0.25, and a full circle is simply 1.0. This normalization maps cleanly to percentages and makes angle arithmetic far more readable and less error-prone in real-world code.

The article resonates particularly with game developers and graphics programmers who often think of rotations in terms of fractions of a full circle. Interpolating between angles, wrapping rotation values, and reasoning about angular velocity all become more natural when working in turns. The author also notes that conversion to degrees is trivially a multiplication by 360, avoiding the π-laden conversions required with radians.

The post earned 134 points on Hacker News and sparked 58 comments, reflecting genuine community interest in the topic. Defenders of radians pointed to their mathematical necessity in calculus and trigonometric identities, where they produce elegant formulas. However, many commenters acknowledged that for applied programming purposes, turns offer a pragmatic and human-friendly alternative that deserves wider adoption in APIs and libraries.

Need IT help in Stockholm?

Book Sovin IT from 499 SEK

Book now →