How Naming Ruins Your Code

Great code starts with you and ends with having more time to code your darling

Arnold Abraham
Frontend Weekly
Published in
6 min readApr 23, 2021

--

Made by the author with ❤

Looking at variable names like double penetration or case closed are funny but not a real-life banger. What tends to be more realistic are names like toBoolOrNotToBool(). Haha, no! What really drives me crazy and every other developer around the globe are names like:

Look at all those names. This is one of my earliest scripts back from 2015. So I was no exclusion from this rule! Look how messy it is and I bet my a** you haven’t even finished reading the longer names!

This article will give you essential tips about naming your functions precisely and as short as possible!

But why is this important?

The naming of identifiers for variables, fields, and properties & functions build the fundament of your code and is therefore mandatory to write better code and ultimately means understanding your code faster and having more time to code your darling!

--

--

Arnold Abraham
Frontend Weekly

JavaScript, TypeScript and C#/.NET Tutorials/News/Best Practices by a German Software Engineer - Fun helps you to learn on the fly --> arnoldcode.com