paint-brush
The Dirty Code Problem: Improve Your Game with Good Naming Practicesby@crbefus
1,143 reads
1,143 reads

The Dirty Code Problem: Improve Your Game with Good Naming Practices

by Chad Befus41mJanuary 29th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Rule: Whenever you name a variable, function, or class, ask if it is concise, honest, expressive, and complete. Using good names means we allow our reader to stop reading at higher levels of abstraction, without digging into details to understand how something works. There are some different rules for naming variables, functions, and classes, but there are 4 basic commonalities. Names should be: Concise,Honest, Expressive, Complete, Concise and Concise. Names for variables, classes, and actors should be named after what they are intended to do.

Company Mentioned

Mention Thumbnail
featured image - The Dirty Code Problem: Improve Your Game with Good Naming Practices
Chad Befus HackerNoon profile picture
Chad Befus

Chad Befus

@crbefus

I'm a Software Engineer with 10+ Years of Experience. I believe quality leads to velocity.

About @crbefus
LEARN MORE ABOUT @CRBEFUS'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Chad Befus HackerNoon profile picture
Chad Befus@crbefus
I'm a Software Engineer with 10+ Years of Experience. I believe quality leads to velocity.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite