Category: Clean Code

Clean Code : Keep code clean :: Class and Method Name 0

Clean Code : Keep code clean :: Class and Method Name

Developers are authors. And one thing about authors is that they have readers. Class and Method Name Class and Method Name Class Names Classes and objects should have noun or noun phrase names like...

Clean Code : Keep code clean :: Variable Declarations 0

Clean Code : Keep code clean :: Variable Declarations

Developers are authors. And one thing about authors is that they have readers. Variable Declarations Variable Declarations Variables should be declared as close to their usage as possible. Because our functions are very short....

Clean Code : Keep code clean :: Method – Argument 0

Clean Code : Keep code clean :: Method – Argument

Developers are authors. And one thing about authors is that they have readers. Method – Argument Method – Argument The ideal number of arguments for a function is zero (niladic). Next comes one (monadic),...

formatting.png 0

Clean Code : Keep code clean :: Formatting

Developers are authors. And one thing about authors is that they have readers. Formatting Formatting First of all, let’s be clear. Code formatting is important. It is too important to ignore and it is...

meaningful Names 0

Clean Code : Keep code clean :: Meaningful Names

Developers are authors. And one thing about authors is that they have readers. Meaningful Names Meaningful Names Names are everywhere in software. We name our variables, our functions, our arguments, classes, and packages. We...