Round 1 Day 6

Today I began by finishing up reviewing the flowchart/pseudo-code notes then I jumped into the calculator videos. Things seem more…shaped up in my mind when it comes to the overall structure about it. With that, my plan is to make a list of key points.

  1. If a variable is within an ‘if’ condition, it is available outside it.
  2. Variables within the loop/do processes need to be initialized outside it. Either do it on top of the loop itself or group them together with the rest of the variables.
  3. prompt(“message”) messages are awesome.
  4. Case statements are preferred over pure if/else statements when it comes to a user inputting an integer and there’s conditions for each.
  5. Extract methods to the top, since it reads it top to bottom.
  6. Rubocop is your friend. This will help you spot errors before you have to show them to anybody, so you have a chance to fix the code.
  7. Rememeber for division, if you divide by two whole numbers, you will get a whole number answer. To account for expected decimal answers, use .to_f.
  8. In Ruby, parentheses are optional.

That’s just some of them. Tomorrow I will continue with the calculator and move on to Variable Scope. Also, looking at how bland everything looks, pictures don’t seem like a bad idea. Will add those too, for proof/life to the posts.

Gallery

Round 1 Day 3

I didn’t get that much done today as Vin and I spent most of the day in Houston. Made dinner and it was about 9 something pm when I could finally sit down. I did a bit of reviewing on hashes and I feel like it’s starting to get a bit easier, as I’m looking at it more and more. I will be home tomorrow, and it’s forecasted to rain so that’ll be nice 🙂 I will review every single card that I’ve made, then do some more exercises while starting pseudo-code. For some reason I’m really worried about not understanding things fully and I think it’s holding me back a bit and I feel the need to constantly review.

Anyway, that’s it for today.

Round 1 Day 2

Today I spent about 4 hours and 41 minutes finishing up Anki cards and reviewing arrays and hashes. Hashes and loops/iterators are tough for me, so it’s something I need to look at everyday. Also, I want to keep track of my time so I’m thinking about using excel for that. A fellow student, Melissa, gave me really good advice today for my journey and a couple things she does, so I think I should try to implement those things into my routine.

Also leveled up on Codewars! Yay!!

Tomorrow I’m going to Houston. I should be back in time early enough to knock out at least an hour of coding. I will definitely finish the book and reviewing, and do a lot more exercises. I should be ready to start looking at Pseudo-code by Monday.

Link to Codewars: https://www.codewars.com/users/Felicia%20Bacon

Link to Github: https://github.com/feliciaiveliz/100-days-of-code/blob/master/log.md

Round 1 Day 1 (Part 2)

This is the update that I promised I would write. I have forked the 100 Days of Code repo (yay!) and it’s in my local machine! I pushed my first log into it just now, and I’m happy. It’s something at least. Tomorrow I plan to finish the book/Anki cards, then move on to the exercises. I should have it finished so that I could start on the Pseudo-code section again. As the challenge demands, I will come back here to update and push my log to Github. Practice makes permenant as they say. Goodnight ya’ll.

Here’s a link to the log. https://github.com/feliciaiveliz/100-days-of-code/blob/master/log.md

Round 1 Day 1

Today I officially started the 100 Days of Code challenge. I began by re-creating Anki cards for Ruby fundamentals and reread the Introduction to Ruby book in prep. I did that because as I was reading through the Pseudo-Code section in 101, I realized that I had a hard time structuring the code in my head and I was struggling for a very long time to even write pseudo-code. So even though it annoyed me (only slightly), I decided to read the book again and properly write out study cards. I guess this is what circular learning is about. Apparently you can’t really know something too well. At least I’ll have done it/seen it so many times that it’ll become muscle memory at some point soon.

Also created this site today to track down my progress through school and 100 Days of Code. Today I’ve clocked in almost 7 1/2 hours.

I’ll update later with tomorrow’s plans.