Lukas Atkinson

  • Blog
  • Projects
  • Research
  • About Me
  • Feed

Reasonable Code

If it's impossible to follow, that code is bad.

What is reasonable code? In an article on The Whiteboard, a fellow software developer under the pen name “Jimmy Hoffa” thinks about reasonability as a measure of code quality. He arrives at six exemplary properties of reasonable code:

  • small scope
  • short stacks
  • explicit data use
  • explicit data ownership
  • explicit outputs
  • dictating instead of deciding

He makes a good case for continuous self-​improvement and a focus on code quality in our development process. It is well worth the read, especially for beginning professionals. And not quite by chance, it seems to be a subtle advertisement for functional programming and static typing: anything else would have a hard time meeting his characteristics of reasonable code.

read external article (5 min)
2016-04-18 by Lukas Atkinson Code Quality (2) Code Craft (4) Linked (2)
  • next post: Simpler Tests thanks to “Extract Method” Refactoring
  • previous post: Algorithms Matter: Incrementally Naming Files

Comments

What are your thoughts on this post? Do you have some feedback, or does something need to be corrected?

  • respond on Mastodon
  • email comments at this domain
no comments
© 2013–2025 Lukas Atkinson
  • Top
  • Atom Feed
  • Imprint
    (Impressum)
  • Privacy
    (Datenschutz)
  • Licenses