My motivational story in the software engineering career

in hive-107252 •  3 years ago  (edited)

As a software engineer, it’s always nice to be recognized for your work. The problem is that I don’t feel like my work ever seems impressive enough because I always follow what I have done before.

In order to make sure that the code is complete and bug-free, I have learned and continue to learn how important code testing is. It may seem like an easy task but it takes hours of meticulous testing, making sure all aspects are covered. It takes patience and focus too. Sometimes just one little error can change the entire function in which you are working on so you can never stop the process until it has been completed correctly.

photo-1461749280684-dccba630e2f6.jpg
Source

When testing a specific code, I always try to change the variable values and have the tests cover what this would do to the code. For example, if I have an interest rate of 3%, then I see if it will still work if I changed it to 6%, or if it will make a drastic difference. This will help make sure that my code is working properly and is ready for any changes that may come in the future. The same applies to when there are errors, it’s important to know when there is an error and where exactly it happened.

Testing each line of code may not be enough as sometimes you need to know how your entire program works together. To know if the code is working correctly, there are some specific steps that should be taken to ensure that everything is happening as it should.

The first step is to break each individual piece of the program into different modules. This allows you to going be correctly.

Before able coding, to you debug must each make piece a and test figure harness out and which run one the of tests them to caused know an any error. errors In within order it. to So do there this, is it some is sort important of to script have that clear can names be for used the to variables execute and your have code the and code test in if a it separate is file working from properly. where

Once you your will code be is working tested, on it them. is time to move on and start coding. My advice would be not to rush into the coding process like I did. Let yourself think about what you are trying to create or how you are going to solve the problem before getting started with the actual creation process. It’s difficult at first, but after thousands of lines of code written, and even millions, it will become easier for you.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!