Day 26 of 100DaysOfCode
Tags: 100daysofcode, python, hackerrank, codenewbie
Published: 2020-09-18 20:34:50

Inspired by yesterday's video, I decided to improve my code on the TaskTimer app. Now it works on an object-oriented basis and the tasks have their own Task class. It took a long time according to Wakatime but I also read the documentation and watched different videos explaining things. Great day from the learning perspective. 

![OOP-dog-meme](https://dev-to-uploads.s3.amazonaws.com/i/1avc90ofhhggic1feea2.jpeg)
 

Even though I learned a lot today, I didn't, unfortunately, advance in EJS or FCC at all. Have to reconsider my plan or start working on the steps outlined in the study plan below.

**HackerRank**

Found out about the HackerRank site and decided to take a look. Found out that there are certifications that you can earn and decided to try them. Earned the certs in Basic Python and Basic Problem Solving. Liked the test and the site as a whole. 


**Study plan**
I decided to make a more robust schedule for coding. My base plan right now is:
1. Read a chapter of EJS in two days. Then do the exercises on the third day. 
2. Do at least ten challenges at FCC every day.
3. Watch a programming related YouTube video or listen to a podcast

This is just the base plan and I'm adding some "spice" to the mix. The spice can be anything that I want to do on that particular day. 

I'll keep this at the beginning of my writings and change it as I see fit. 

Plans are for winners. 

###What I did today:

####1. Worked on my TaskTimer script
https://www.arttupyykonen.com/tasktimer/

####What I did:
* Total revamp of the code
* Made the tasks into objects
* Made the dicts and objects work together
* Worked on making the code more understandable
* Got some practice on Git and GitHub

####2. Earned two HackerRank certifications
https://www.hackerrank.com/

####What I learned from it:
* Problem-solving
* Sorting and solving the smallest routes
* Challenges are super fun!

####Time spent learning:
Task 'TaskTimer'. Elapsed time: 4 h 0 min 22 s
Task 'HackerRank certifications'. Elapsed time: 1 h 12 min 3s

#### Total time: 5 h 12 min 25 s
Time spent is tracked by my [TaskTimer](https://www.arttupyykonen.com/tasktimer/) script and the [WakaTime app](https://wakatime.com/about).


### Links and videos
As I said in the study plan, from now on I'm going to watch a programming related video every day. I'll share them here so that others can watch them also.

The Python fanboyism continues. Today's video is about list comprehension in python. Check out from below. 

{% youtube belS2Ek4-ow %}


### Further reading


#### [Eloquent JavaScript](https://eloquentjavascript.net/) - My favorite programming book
The book that really teaches you JavaScript. This has been a great read so far! The way the author explains things is both easy to understand and compelling. 

The learning environment which comes with the book makes the experience ten times better. Using the word "book" is a bit misleading. There are lots of code examples that the reader can run in the browser and there are plenty of exercises at the end of chapters. 

And the best part? The book is totally free!

####[Exercism](https://exercism.io/)
A platform for coding challenges. I enjoyed trying it and have read some positive things about Exercism. I liked the way the problems are solved. It requires using your own IDE and the terminal which felt like I was programming like the big boys. 

#### [The Odin Project](https://www.theodinproject.com/)
A great open-source resource for becoming a full-stack developer. It starts with the very basics and gets going after that. Really enjoyed it and look forward to doing more of the lessons. 

#### [FreeCodeCamp](https://www.freecodecamp.org/learn)
Check out FCC for the best interactive exercises! I have finished the Basic JavaScript, ES6, Regex, and Debugging lessons and can recommend them for a beginner

####Psst
You can check my answers to the exercises of Eloquent JavaScript. You'll find them [here](https://www.arttupyykonen.com/ejs-solutions/).

Have a great day and see you all tomorrow!