Why do we need to make the methods small? How small a method should be? How making our methods small keeps the code organized and easy to read? We will answer that and many other questions, let’s begin.

This article is part of a clean code in-depth course called “Software Practices And Writing Clean Code” you can check it out. It’s currently available at an 87% off discount.


Some people love comments and write them everywhere, some people hate them and don’t write them at all. You should be in the middle, or even more towards “I don’t write comments”, but there are places that you should.

This article is part of a clean code in-depth course called Clean Code: Skyrocket Your Programming Career in 7 Days you can check it out. It’s currently available at an 87% off discount.


The code should read like well-written prose. That’s why you should be careful about booleans.

This article is part of a clean code in-depth course called Clean Code: Skyrocket Your Programming Career in 7 Days you can check it out. It’s currently available at an 87% off discount.


October 29, 2018, Lion Air Flight 610 was a scheduled domestic flight from Jakarta, Indonesia to Pangkal Pinang. 13 minutes after takeoff the plane crashed into the Java Sea, killing all 189 passengers and crew. It was the first major accident involving the new Boeing 737 MAX aircraft.


There are thousands of patterns and you should know some of them. There are big courses and books about patterns. In this article, we are going to talk about talk the Fluent interface Pattern. Is so simple and makes the code so much cleaner, so I couldn’t resist not showing you.

Very frequently we have a code that creates objects like that:

public Person generatePerson() {
Person person = new Person();
person.setFirstName("FirstName");
person.setLastName("LastName");
person.setAge(15);
person.setSex("M");
person.setCity("City");
person.setHairColor("Black");
return person;
}

Classical mapping. We are initializing an object, then we put some data in with the setters and then we return…


In this article, we will talk about how to pick the right names for classes, methods, and variables. We will see how a bad name can lead to code that is hard to understand and how to fix that. Let’s begin.

This article is part of a clean code in-depth course called “Software Practices And Writing Clean Code” you can check it out. It’s currently available at an 87% off discount.


Why having many arguments make the code hard to maintain? How many arguments should my method have? Let’s find out.

This article is part of a clean code in-depth course called “Software Practices And Writing Clean Code” you can check it out. It’s currently available at an 87% off discount.


In this article, we going to focus on how to reuse code.

Why should we reuse code? Are there exceptions to this rule? Are there side effects when reusing code? Let’s get started.

This article is part of a clean code in-depth course called Software Practices And Writing Clean Code you can check it out. It’s currently available at an 87% off discount.

devsmanship

See our latest course: https://rebrand.ly/cc-medium-desc

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