Boot camp day 2

Day two of boot camp. Now I know why they call it ‘boot camp’. It feels like I’ve been doing some type of military training in a desert. No food, no water, just a never ending sandy wasteland. But enough with the exaggeration. It’s been a truly fruitful day filled with awesome challenges. I feel like I popped some of those pills Lucy had that unlocked all her brain potential.

Enter the world of Flask. This was my first encounter with this Python micro framework and I am loving it so far. Everything is really straight forward and easy to implement and the supporting documentation for it is just marvelous. Flask depends on some external libraries, like Werkzeug and Jinja2. Werkzeug is a toolkit for WSGI, the standard Python interface between web applications and a variety of servers for both development and deployment. Jinja2 is a templating engine. I had an easy time setting up the virtual environment and installing Flask.

After Flask was all set up, I had it grab a cup of coffee while I went to fetch good ol’ Pylint. Pylint is a code analysis tool for Python. It has a number of features which I will not go over in this post but you can check out its documentation if you need more information on it. Needless to say setting it up was easy and straight forward. It’s a really handy tool for checking if your Python code meets PEP8 standards.

The remainder of my day was spent working on unit testing. Now, I will not lie to you. This has proved to be the most challenging thing I have encountered in the world of software development so far for me. I am yet to fully grasp the finer details about test driven development. I understand the main concept is writing failing tests for your code and then writing your code and tweaking it to make all test cases pass, but saying it and doing it are two very different things. It’s sort of like playing an instrument, say a guitar, it’s easy to ‘play’ it, in theory, cause all I have to do is give a sequence of chords and all that but actually making the music flow and have a certain pizzazz to it is another thing altogether. So, yes, the end of the day is fast approaching and I am still struggling to grasp TDD but I shall not despair.

Today has truly provided a wonderful learning experience for me. I have learned to seek help from my fellow peers because I realized that you can’t tackle everything alone. Two heads are always better than one. I have also learned to power through tough times no matter how bleak the situation may look. A wise man once said, “Stay true to yourself, yet always be open to learning. Work hard, and never give up on your dreams, even when nobody else believes they can come true but you. These are not cliches but real tools you need no matter what you do in life to stay focused on your path.”

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.