Skip to content
Global sound
No Compromises

No Compromises

Stop doing math in your config files

· 9 min · Episode 145

Show notes

Ever feel the urge to write out calculations in your code to make them "self-documenting"?
In the latest episode of the No Compromises podcast, we discuss why inline math in configuration values is a habit worth breaking.
Aaron argues that if a value never changes, there's no reason to calculate it every time. A well-placed comment can explain how you got the number without the unnecessary overhead.
We also cover how comments can clarify units like seconds versus milliseconds, why this thinking applies beyond config files, and how questioning small habits can improve your code overall.

•…

Website: share.transistor.fm

Live, last hour: 12,959 songs on 5,319 stations in 125 countries

Discover the world through radio

More ways to discover (9)

Heard something good? Save it, or open it straight away in Spotify.

Radio 538 luisteren - Live!Popular right now