During TDD phase, you will find out that your code need to be refactored. How do you know if your code should be refactored or not? Let's take a look at one of example: class CreatePTSerializer(PTSerializer): def validate(self, data): if ...
Have you ever been in a situation where you can run your app in your local, but it doesn't work in your friend's computer? Well, I have. Apparently, there is a solution for that problem. Use Docker. Docker helps you avoid this dependency problem. Why...
In my team, I feel like I am the one who got an early experience in building production-ready software (which I am very grateful and I also recognize my privilege) so I get a sense of responsibility that I should guide and help others technically. I ...
When it comes to my experience in building software, I often find myself in a team that is dominated with men. There was a time that I was the only woman too. It was not an surprising situation since according to U. S. Equal Employment Opportunity Co...
What is Test-Driven Development? Test-Driven Development (TDD) is a process where we make requirements into test cases and write the implementation after that. Here are steps in TDD: Write failing tests -> We called it, RED stage Make the tests pass...
How do you measure if your code is good? Aside from making sure your code is bug-free, your code need to be clean. Code is considered clean if it can be understood easily. "I can understand my code easily since I am the one who wrote it". Leave the c...