Woo Pair Programming and Hiding the Loops!

Behold the Cloud!

This weekend I rediscovered the beauty of git diff and git cherry-pick — commands that I’m pretty sure we learned the first week, but I think I was still getting over the whole origin master weird names everywhere thing. I’m glad I recapped git, because today was our first foray into pair programming (or in our case, trio programming). Version control has a new fan!

Our assignment was to use the .map.filter.reduce, and .forEach methods instead of explicit for-loop syntax to access values inside JavaScript objects. Talking out loud about our chosen strategies for solving the exercises definitely helped cement my understanding of each function.

Since I think we’re all relatively new to GitHub, we spent a lot of time in the beginning fiddling around with branches, and deciding if we would be pushing to the master branch or to our individual branches. Up until this point, I’ve only used git and GitHub alone and in my own repositories, so it was fun to finally push/pull other people’s work. I’m also hoping to start poking around in beginner-friendly open source projects soon.

I’m thinking that in the future, group projects will benefit from a little set-up time set aside at the beginning to discuss our potential approaches and strategies for solving the problem. If both the group and the problem are small, I also think sharing one screen could encourage communication and focus attention on the problem, rather than ways of getting to the problem. I’m excited to keep working with other people — I definitely wouldn’t have thought of all the different ways to break functions into bite-size bits without talking through it aloud with Jennifer!

In the meantime, I watched a few React tutorials this weekend, and so far so good. Only touching the DOM and only changing the elements whose changes need to be visually reflected to the user — seems to make a lot of sense to me. I plan to wait a bit before making my own infinite-scrolling app though, since the good people on YouTube emphasized the importance of writing quick, anonymous functions, feeding them to each other, and being extremely efficient at doing so. In the coming weeks as we learn jQuery, Agile, Ajax, Node, I think I’ll have enough loop practice to get comfortable with React. The real challenge will be Redux!

(This post was originally squished together with the post about women and computers, but I decided to split it up, since this post ended up less layperson-friendly. I’m wondering if I should divide things that way in the future too? Like “code”-focused versus “culture”-focused? TBD.)