Clever Code Considered Harmful

Clever Code Considered Harmful is a great read. When it comes to day-to-day production code, here’s the barometer I like to use: will a junior developer, someone at the very start of their career, struggle to understand this code? In […]


This content originally appeared on Brad Frost and was authored by Brad Frost

Clever Code Considered Harmful is a great read.

When it comes to day-to-day production code, here’s the barometer I like to use: will a junior developer, someone at the very start of their career, struggle to understand this code?

In the context of a shared codebase, good code is simple code. Code that doesn’t do anything fancy. Code that makes minimal use of abstractions. Code that you’d use to explain fundamental concepts to novices.

In our design system work, we tuck into our clients’ developers workflows and spend a lot of time together better understanding their decisions, helping them establish/bolster their conventions, and create a workflow that encourages easy maintenance and contributions. In this spirit, one of our core principles for writing code is “legibility over succinctness”.

 


This content originally appeared on Brad Frost and was authored by Brad Frost


Print Share Comment Cite Upload Translate
APA
Brad Frost | Sciencx (2023-10-03T04:56:16+00:00) » Clever Code Considered Harmful. Retrieved from https://www.scien.cx/2023/03/06/clever-code-considered-harmful/.
MLA
" » Clever Code Considered Harmful." Brad Frost | Sciencx - Monday March 6, 2023, https://www.scien.cx/2023/03/06/clever-code-considered-harmful/
HARVARD
Brad Frost | Sciencx Monday March 6, 2023 » Clever Code Considered Harmful., viewed 2023-10-03T04:56:16+00:00,<https://www.scien.cx/2023/03/06/clever-code-considered-harmful/>
VANCOUVER
Brad Frost | Sciencx - » Clever Code Considered Harmful. [Internet]. [Accessed 2023-10-03T04:56:16+00:00]. Available from: https://www.scien.cx/2023/03/06/clever-code-considered-harmful/
CHICAGO
" » Clever Code Considered Harmful." Brad Frost | Sciencx - Accessed 2023-10-03T04:56:16+00:00. https://www.scien.cx/2023/03/06/clever-code-considered-harmful/
IEEE
" » Clever Code Considered Harmful." Brad Frost | Sciencx [Online]. Available: https://www.scien.cx/2023/03/06/clever-code-considered-harmful/. [Accessed: 2023-10-03T04:56:16+00:00]
rf:citation
» Clever Code Considered Harmful | Brad Frost | Sciencx | https://www.scien.cx/2023/03/06/clever-code-considered-harmful/ | 2023-10-03T04:56:16+00:00
https://github.com/addpipe/simple-recorderjs-demo