PinneddevsmanshipinJavarevisitedA key to clean code — small methodsWhy 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…7 min read·Mar 25, 2021--3--3
devsmanshipinJavarevisitedEverything you’ve been taught about writing comments is wrong. Here’s whySome 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…5 min read·Jun 15, 2021--3--3
devsmanshipinJavarevisitedHow to make your code reads like a poem? Beautiful boolean variablesThe code should read like well-written prose. That’s why you should be careful about booleans.5 min read·Jun 10, 2021----
devsmanshipinJavarevisitedBad Code Quality Case Study: Boeing 737 MAX AircraftOctober 29, 2018, Lion Air Flight 610 was a scheduled domestic flight from Jakarta, Indonesia to Pangkal Pinang. 13 minutes after takeoff…4 min read·Jun 7, 2021----
devsmanshipinJavarevisitedFluent Interface Pattern — a simple way to reduce verbose code3 min read·Jun 6, 2021--1--1
devsmanshipinJavarevisitedA complete guide for choosing the right namesIn 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…11 min read·May 17, 2021----
devsmanshipinJavarevisitedWhy having fewer arguments matter and how it affects maintainability?Why having many arguments make the code hard to maintain? How many arguments should my method have? Let’s find out.3 min read·Apr 8, 2021----
devsmanshipinJavarevisitedThe right way to reuse codeIn this article, we going to focus on how to reuse code.5 min read·Mar 19, 2021----