Hunter Henrichsen

Hunter Henrichsen

Search Circle
< lecture

Lecture 24 - Responsive Design

posted about 1 year ago 3 min read

Lecture 24 - Responsive Design#

Announcements#

News#

Follow-Ups#

Analytics#

What is the best way to run analytics on a webapp. Google Analytics? Build your own event trackers into your code? Compare and contrast options please.

This feels a little bit like a ChatGPT prompt 😅

There are lots of third party solutions to this:

You can also build your own. The tradeoffs generally are:

Site Performance#

What is the best way to monitor site performance and determine if improvements need to be made. Are there benchmarks to go by?

What ways to monitor:

OOP vs Functional#

Pros and Cons/When To Use OOP vs Functional Programming vs etc.

I don’t take a hardline stance on this one; my favorite language is Kotlin which lets me pick my favorite paradigm and use it where it makes sense, but doesn’t force one on me. I think using the right paradigm in the right place can lead to much more readable code, and I try to learn a bunch of paradigms so I can use them where they make sense.

I find functional is really good for working with immutable data, especially on mathematically complete types like lists, options, and errors (I’m trying really hard not to say the M-word here, but I’m legally required to link it).

I find OOP is really good for working with and organizing data, and encapsulating functionality into services that operate on that data.

I find data-driven (think an entity component system) is really good for working with consistent data quickly.

Use what’s readable and makes sense for your use case. It’s not a holy war when you no longer have to pick just one (coming from a guy who uses neovim in VSCode).

Responsive Design#

Most of responsive design comes down to two things:

Assignment 3#

We’ll be working out of this repo.

Next Time#