- Back when I was seven and we got the Apple II Plus, my dad was actually teaching some Applesoft BASIC classes at the local computer shop. And we were on a flight somewhere, and I was learning Applesoft BASIC. I was reading a book and writing out some stuff on a piece of paper. And my father glanced over at what I was writing, and he said, "Oh, I don't think that's going to work." I looked at it, and I'm like, wait, no. Look at the book, the syntax is all correct. No, I'm pretty sure it'll work, Dad. Dad's like, "No, I'm pretty sure it won't." And I'm like, no, I'm pretty sure it will.
Right, 'cause you're seven, you're stubborn. And my father said, "I'll tell you what. "When we get home, we'll try it. "And if it works, you can call me turkey for a week. "And if it doesn't, I get to call you turkey for a week." And I'm like, you're on. It worked. Dad was a turkey for a week. That was a project that will always, for the rest of my life, remain with me, not because I was able to give it to my dad. Okay, no, it was because I was able to give it to my dad, right? I get to call him turkey for a week.
So, things just don't work all the time. That's part of it. You don't write the exact same line of code for every project. It almost feels like you have to get comfortable with being a little bit uncomfortable and accepting that it's a process of success and failure. You build something, it works, yay. And then you add one line, it breaks. Oh, no, now you got to fix it, and then, yay, it's fixed. And that's just literally part of the process. In terms of feeling frustrated, again, that's just totally normal.
Things just don't work, and then they work all of a sudden and you're not even sure why sometimes. I think some ways to alleviate that is to allow yourself to take a break every now and again. There have been times where I've struggled with a big for an hour or two. I come back the next day, 15 minutes, done. (laughs) Sometimes you just need to walk away from it just to get fresh eyes. - When I began my studies as a computer science student a long time ago, I didn't really have this confidence in me, especially in terms of whether I would be able to somehow survive my computer science program.
And that was one of those major obstacles in my life. Overcoming somehow the kind of psychological hurdle, that made a huge difference in my life because in the process I learned the fact that I'm capable of doing anything if I have my mind set on a particular thing. - When I'm stuck with a problem, my standard operating procedure, like let's say I have a really bad, nasty bug that I just cannot figure out.
I'm at my wit's end and I can't figure out what to do. My standard operating procedure is to go for a walk. Seems silly to say it, but it is the truth of what I do. I know when to get up and literally walk away from my computer and just go for a walk and clear my mind. I also know when to say, you know what? I'm done for the day. I'm going to go home and go to bed and not touch my computer for the rest of the day. I think that those are really important things to do, because your brain gets tired if you work on it for too long. And it's very possible that the answer you're seeking, you simply don't have the capacity to find it for the day because you've worked so hard for the day so far and sometimes you need to give it a rest.