Days 8-11 of 100 Days of Code!
Hello everyone!
Thanks for checking out my days 8-11 of 100 days of code!
Day eight of #100DaysOfCode:
Today is Monday the 21st. Today I had a light coding day in learning about React Native and installing an android studio and setting up the SDK and the AVD. I also made minor grammatical corrections on my blog webpage. I worked a 16 hour overnight into a day shift and had to attend a family function when I got off. I only had a little bit of time after it all before I passed out from exhaustion! I slept 11 hours that night. Sometimes there can be a little bit of guilt in not putting in more coding time, but life comes up. Either you pick up an extra shift, have a kiddo emergency, or just an important family event (even during COVID season).
Day nine of #100DaysOfCode:
Updated more of my blog, and homepage. Recreated an instance of an EC2 AWS server. I had created one a couple of months ago but closed it since I was not sure when I was going to use it. I now realize that I could have just left it up! I worked on my SchedulePro Sprinboot RESTful API which has been a blast! I need to host it on GitHub to showcase and so I can push daily commits to it. I mostly worked on the Appointment Controller which still has several errors, but I understand what I need to do, and I am working through the complications.
Day ten of #100DaysOfCode:
Today I continued in advancing (but only for 30 or so minutes) my SchedulePro API before I went to work. It has been a month since I created a RESTful API so I am taking a little longer in working through it. I understand a lot of what I need to do, but for fine details, I need to research and make sure I am doing it all correctly! I may have jumped ahead into the API out of excitement, but I think I need to go back and look at my basic CRUD methods to make sure they are efficient and do all that they are supposed to including catching different exceptions including mismatch input.
appts.add(new Appointment(FirstName, LastName, 09-25-2020, Friday, 0700));
Day eleven of #100DaysOfCode:
Did a Leet code challenge today! I needed to remove whitespace, positive and negative signs from a String and return JUST the numbers as an Integer. Afterward, I looked at what people had submitted for solutions. I was amazed at how few people used Java shortcuts. Yes, it is great if you know how to do all of the little things, but what if you don’t need to? If you are writing hundreds of lines of code, we can be efficient and write .this() or .that() instead of writing the equation to accomplish a task. For example, people were writing out 3 lines of code instead of using one simple “str.trim()” to remove whitespace. Obviously there are so many shortcuts, and it seems like there is NO way to know all of them, but do your best to research and to work smarter, not harder.
Thanks for reading my article,
Mara Munoz