In software development, clean code is very important. To write a clean, understandable, and maintainable is an important skill for any software developer. It is frustrating to continue someone else’s code but you cannot understand what it’s doing. In this article, I’ve list some of my tips to make your code a bit cleaner and easier to understand for everyone.
You don’t need to write comments on the variable if you name your variable correctly. Don’t use letters like x, y, z for a variable (for loop variables are an exception).
// BAD NAMING int x = 1; // period…
In this article, I’m sharing with you my experience with Test-Driven Development on a new environment. But first, we must understand Test-Driven Development.
Test-Driven Development (TDD) is a technique to create tests before the implementation code. Writing the test first reduces errors that can occur during development. Test cases make sure that the code remains functional even when other people try to modify your code.
Steps on how to code with TDD:
In this article, I will share with you some of Git’s commands that I often use and my experience applying Git Flow in one of my projects.
Here are my most used git command other than the basics. To view all the commands, run:
git --help or
git <command> --help .
git branch is a command to create a new branch or manage created branch.
git branch <branch_name>to create a new branch with
<branch_name>as the name.
git branch -d <branch_name>to delete a branch.
git branch -m <old_branch> <new_branch>to rename a branch
git checkout is a…
In the past few days, my team have been creating our mobile application for Badan Pengelola Keuangan Haji or BPKH in short. BPKH is an institution that manages Hajj Finance in Indonesia. BPKH needs a mobile application to track monitoring of projects they have. Our goal is to simplify project monitoring anywhere and anytime. We use Scrum to help us achieve our goal and create a working software that meet BPKH needs. But what is Scrum?
Scrum is a lightweight framework that helps people, teams and organizations generate value through adaptive solutions for complex problems.
A framework doesn’t…
I have tried to install Arch before but it failed. Will it work this time?
I really can’t wait to install Arch Linux! Now it’s the perfect time because I’m in a holiday. Currently I use Lubuntu as my main OS to do college work. But I want to try Arch Linux So I followed the official installation guide for Arch Linux at https://wiki.archlinux.org/index.php/Installation_guide to install a very basic Arch Linux Installation. I want to install Arch Linux on Acer Swift 3 laptop, with Intel i7–8550U.
After downloading the ISO with torrent, I check both md5 and sha1 hash to…
Hewwo, UwU, my nawme iws Oktow, I’m going tuwu teww my stowy own setting up high avaiwabiwity own my wocaw django sewvew.
Okay I will stop there.
The steps shown in this tutorial is for Ubuntu Linux, as It is my main Operating System. The steps for Windows or other Linux distros may be different, but the configuration file should work for you just fine.
To install NginX, all you have to do is type:
sudo apt install nginx
I didn’t encounter any problems when installing NginX.
You need to edit some configuration files to set up the load balancer…
Computer Science Student