Return to site

CODING TIP: Stop a moment to think about the name of the package/class/method/variable

· java,coding

YES, names are EXTREMELY important.

With a self-describing name, it is very easy to find out what your code is doing.
For this reason, do not use the first name that pops into your head.
Think about the best possible name that describes exactly for what your package, class, method, variable is responsible.
Avoid ambiguous names!
If a bug occurs in this functionality, it will be very difficult to find it.
Examples of ambiguous names:

Specific names help A LOT!

All Posts
×

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!

OK