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…Mar 25, 20213Mar 25, 20213
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…Jun 15, 20213Jun 15, 20213
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.Jun 10, 2021Jun 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…Jun 7, 2021Jun 7, 2021
devsmanshipinJavarevisitedFluent Interface Pattern — a simple way to reduce verbose codeJun 6, 20211Jun 6, 20211
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…May 17, 2021May 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.Apr 8, 2021Apr 8, 2021
devsmanshipinJavarevisitedThe right way to reuse codeIn this article, we going to focus on how to reuse code.Mar 19, 2021Mar 19, 2021