Do I ought to follow naming conventions for Java packages? -


i learning java , have found naming conventions used in tutorials on oracle's website , com.etc.project.program

do have follow convention?

and pros , cons of following or not following it?

conventions not mandatory

  • you create bettter code ,
  • others understand easier:

according wikipedia:

reasons using naming convention (as opposed allowing programmers choose character sequence) include following:

  • to reduce effort needed read , understand source code
  • to enable code reviews focus on more important issues arguing on syntax , naming standards.
  • to enable code quality review tools focus reporting on significant issues other syntax , style preferences.
  • to enhance source code appearance (for example, disallowing overlong names or unclear abbreviations).

Comments