Make me smile #1: My code works ?!

Alright, this is my first entry for #makemesmile, the rule is simple, just share things that make you happy!

Details at @elizacheng's latest post

content marketers.jpg

Alright, let's get started...

Background story

As a student by day, software developer by night, I had been multitasking to work on a Blockchain solution project. The aim of this project is to implement blockchain into existing mobile app, making the database for certificates immutable.

In simple words, I am making a database which is harder to be hacked and the data cannot be easily being manipulate.

What happen today

So, as a software developer, I start to use a practise called Test Driven Development (TDD), which means I am going to create test cases first before even code.

WHAT?



source

Yea, create test cases before you write a program. This allow the developer to make application more scalable and easier to understand.

OK, how does this relate to #makemesmile?

Alright, going back to the story...

So, the started my test cases with this:


Screen Shot 2018-04-10 at 9.44.42 PM.png

See the RED failed, that is the thing I need to work on.

After a day of hardwork and countless times of testing, finally I got it green!


Screen Shot 2018-04-10 at 9.45.50 PM.png

Why this make me smile? It means that my codes are working as the test cases passed; and I can work on the next part of the project! 🙌



source

The feelings are like your Balance Sheet is balance (for accountant) and your lab conclusion satisfy the hypothesis (for science student).

Okay, I am running out of example, can someone share in the comment how would you describe the feeling when you are satisfied for your achievement 😂






Animated Banner Created By @zord189

H2
H3
H4
3 columns
2 columns
1 column
24 Comments