- How do you organize your code? What are some suggestions you find on the web?
Do not underestimate the power or writing it out. I think the most helpful tip I found was, don’t code first. The most power tool we have in coding is thinking through the problem completely. It helps to write out your step, look at the links you have between different steps, identify which element will effect each other or are dependent on one other. The last thing you want it five different names for the same thing. Have a clear and consist picture of who your key players are a what you need to do is more powerful than any code you can write without this process first. This is probably the best way to keep your code DRY.
2. Can you describe your workflow when you create a web page or web app?
Think of your idea. Draw out a general concept, what you want it to do and then write out that process in detail. As much detail as I can, usually this involves asking questions to myself about what the purpose is of those things and how you want that element to function within the code. Very similar to what we were discussing above. At that point I feel like I can actually start coding. I prefer to start with the functionality and then move onto the visual aspects.
3. You can’t work out how to solve a coding problem, where do you find the answer? Why? How do you know?
Go into my console and see if I can get an helpful hints from there to tell me why my code isn’t working. If I can’t get any hints for here, I start to console log out EVERYTHING. And I really do mean everything. I want to find out WHERE my code has broken down. If you don’t know where it’s broken how will you ever fix it? Once I’ve actually been able to find the problem and if the console still isn’t giving up any hints, then I start googling. Is my function being performed correctly? Find all the places in my code that might make reference to the piece that is broken and make sure they are not also being effected or effecting it. Sometimes I will take the code out of the context of the full problem and see if I can recreate it in something like repl.it to see if I can re-engineer the error and fix it in the smaller context. Or maybe if I take it out, I can see it’s not that piece, but something else in the code that is effective the intention of that code.
If I REALLY can’t figure it out through google, then I start posting my questions to the world at large through public forms. While I really like being able to figure things out on my own, sometimes you need an outside perspective or if it’s really gotten away from you, step back for a little. Work on something else if you can, or take a break. Sometimes it’s a simple thing, but it’s too hard to see when you’ve been staring at the same line of code for hours.
4.What problems have you solved that didn’t involve you coding?
I am a big movie buff, so I own a lot of movies. When my husband and I got together, we merged our movie collections. Over the years, we would be out and about and see a movie we both like and one of us would say, “Oh we should buy this!” the other would look at it and say, “we already have that one.” We would look at the movie, look back at each other, “are you sure? I don’t think we do.” Sometimes one would be right and the other wrong, but it got frustrating for both of us. I decide instead of getting annoying, I would make a list. I sat down one afternoon and created a google shred-sheet with all of our movies, if it was blue-ray, regular DVD or if we owned it digitally. I shared it with my husband, and now we never have the argument any more.
5. Talk about your preferred development environment. (What IDE or text editor they enjoy, and why?)
I’ve used Atom a little, but really I’ve really come to love VSCode, it’s so vertical and there are some extension that I just adore. Prettier, if you haven’t used it, is a life saver. When you have something the color codes your brackets, make it so much easier to determine if you’re missing one.
6.How are you keeping up with the latest developments in web development?
A lot of reading. My class mates have been a wonderful resources, but there is nothing better for keeping up to date than your own curiosity. Sometimes I read one thing in an article and then I end up googling it and before you know it, it’s 10 and my dog is whining at my because he really want to go the walk he was due for an hour ago.