Class 2

Ryan Pearson
2 min readAug 31, 2021
  • How do you organize your code? What are some suggestions you find on the web?

Creating multiple functions for smaller pieces instead of having one large function that tries to do everything, spacing and indentation throughout the code to make it more readable, and when needed, comments above my code to give an insight to what i am doing

  • Can you describe your workflow when you create a web page or web app?

My first step is to get all of the basic, static HTML up and running to at least have a barebones base of the site. Then i try to tackle the javascript aspect of it one small piece at a time, getting one very specific part of the site to work how it should before moving on to the next. If i do any styling to the website typically Ill do that at the end after everything is functional, unless there is a reason to do it sooner.

  • You can’t work out how to solve a coding problem, where do you find the answer? Why? How do you know?

When I google a problem I dont know the answer to, I tend to look for answers on stackOverflow, w3schools, or individual blogs that have worked out their own version of the problem. For simple problems, w3 and stackOverflow are my go-to, and when there is a longer problem that I am looking to find a walkthrough example, many times individual blogs have the most detailed, easy to follow information

  • What problems have you solved that didn’t involve you coding?

The most recent problem I had was with needing an access token to push an assignment to github, for this i found a walkthrough of how i needed to edit my computer to save the token and be able to submit my assignment. While things like this may be frustrating at times because its more time spent working on a project that isnt actually coding, it is also nice when I find the solution and get everything working because that will definitely be an aspect of a job as an everyday developer, figuring out solutions to other problems that dont involve actually writing code.

  • Talk about your preferred development environment. (What IDE or text editor you enjoy, and why?)

I prefer vscode, It is the one I initially taught myself in so there is familiarity , and it seems to be the most comprehensive text editor that is easy to understand and has everything you need to be successful.

  • How are you keeping up with the latest developments in web development?

News articles about current events are my favorite way to keep up with developments. I keep up with alot of financial news and many times coding articles are intertwined with those, it is always interesting to see two things I have an interest in and a desire to learn more about combined.

--

--