Day 20

Not gonna lie, day 20 kinda took me for a ride. Dunno if it was because it’s 1am and I’m half-asleep but refactoring is a little wonky. I didn’t know what the hell was going on as he dragged everything out of Start into a new function and then just called said function at Start. But it became clear when he dragged the “here’s what to do when making a new guess” code into a new function and then just called it so that you didn’t have to repeat the code multiple times.

But I’m still not 100% on what happened so I’m reviewing it until I can grasp it in its entirety because I just know this is some fundamental shit and I’m gonna have to know this. But maybe, like, later. I gotta rewatch this whole sector anyway once I go home in 48 hours.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s