100 Days of code – 25% complete
And just like that, I’m 25% done!
What a time for a milestone! It’s always hard to prioritize coding during free time, but it’s especially difficult when you’re trying to spend time with family. In the past 5 days, I coded before driving down to my Mom’s house, after Thanksgiving dinner, and in the car while we were headed to a Christmas light show. I even wrote some code on the way back home while my wife was driving!
This challenge been difficult, but I expected that. I’m really happy with my progress, and I’m really excited to see what the other 75% of this journey will bring!
I have focused on list comprehensions, classes, and lambda functions for the last 5 days. Here’s what I think about each one:
- List comprehensions are super useful. I’m sure I’ll end up working list comprehensions into every program I write that uses lists, which will be almost every program.
- Classes don’t seem to give me any benefit over regular functions at this time. I found that most of my classes contained 2 methods, and one was __init__. I think this will change once I write more involved programs.
- Lambda functions don’t seem to be that helpful. They let me make a small function, but I haven’t found that this simplifies my code. In fact, I have found that lambda functions take more time and more lines of code to implement. Once again, this is probably due to the fact that I’m not writing very complex programs at this time.
I don’t really know what I’m going to do for the next 5 days. I have some ideas for some projects, but I want to make sure I’m understanding the problems I’m trying to solve before I spend an hour each day researching rather than coding. We’ll see how it goes! Happy coding!