Find the Right Naming — What Is a Good Class-Name

How Much Time Should I Spend?

How to create punchy namings?

  • What naming makes my code better understandable for other developers?
  • Is the code reusable?
  • Did I separate the concerns?

Explanations and Examples

Summary

  • Timeboxing (not more than 10 minutes)
  • Use short and meaningful words
  • Use random placeholder to start focusing on coding
  • A working code is the achievement, not a cool name
  • Separate concerns by using not generic class names

Sources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marcel Domke

Marcel Domke

Tech Lead — Control Panels at ABOUT YOU GmbH Employed since 01.06.2015