Why/when would you use a class-based component vs a functional component.

With a functional component you can’t set the state, with a class based component, you can set the state.

What is create-react-app?

This is a quick command to build a simple react app that can then be edited.

What…

Discuss in words something that you learned in class today or this week.

We’ve mostly been focused on React this week. It’s definitely different to how I’ve been building websites in the past, and it’s hard to wrap my brain around.

What is the difference between between state and props?

Tell me about a project that you’re particularly proud of. What did you do that worked out so well?

As silly as it might sound, the barber shop project from way back in the beginning of the class might be what I’m most proud of. It looks great, it was…

How does Node.js handle child threads?

As far as I can tell, Node only works with single threads, so child threads aren’t actually used.

What tools can be used to assure consistent style?

Always using the same

List out the differences between AngularJS and NodeJS.

Angular seems to be more useful for larger applications, is written entirely in JS and doesn’t need to be installed on your machine to use.

Node is more useful for smaller, local apps, is written in multiple languages and needs to be installed locally to use.

What are the advantages of NodeJS?

Node is very compatible with and even runs on the same engine as Google. It’s easily scalable, and is open source.

What is meant by JSON?

JSON is JavaScript Object Notation

What’s the difference between operational and programmer errors?

Operational errors are errors that happen during the normal use and operation of a program or website. Programmer errors are bugs and broken code that don’t allow the program to run correctly.

What is ‘event-driven’ programming?

Event-driven programming is programming that’s designed…

What do you find challenging about coding?

Honestly the linking of JS and HTML is always the most annoying/hardest to envision in my mind. I can think about them both just fine separately, but putting everything together is where I often stumble.

Talk about a project that disappointed you. …

How do you organize your code? What are some suggestions you find on the web?

I try to write comments explaining my code as I write it. (try) And I make sure to keep all of my files in clearly labeled spots with clear names.

Can you describe your workflow…

Talk about something that you learned this week.

We talked quite a bit about recursion this week. Recursion is basically taking a function that calls itself repeatedly, slowly getting closer to the condition you want it to meet. …

Tell us about something you learned this week.

I cemented the ideas of object classes and constructors. Being able to create multiple objects in the same class can definitely help with coding functional programs.

What are the pros and cons of immutability?

From what I understand, it’s mostly pros. It…

Describe one thing you’re learning in class today. Why do you think it will be important in your future web development journey?

I’m continuing to learn more about Object Oriented Programming. As far as I can tell, this is a skill that is sought after highly by employers.

Can you…

David Hebert

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store