DEV Community

Discussion on: Human Readable JavaScript

Collapse
 
jeastham1993 profile image
James Eastham • Edited

Love this Laurie!

I'm a .NET developer, but always make it my aim to make code read like a story. Things like

var settings = new Settings(this.Configuration)

vs

var settings = Settings.LoadFrom(this.Configuration)

Simple example, but making your code read like a story makes it so much easier to pick up coming back to it.

I think short functions and readable code are fundamentals for code that others can pick up.

Collapse
 
laurieontech profile image
Laurie

Love that!