Code, Shiny Things, and Other Random Shit I Like

jamesreinknecht.com

TIL: I'm an idiot

Today I learned:

nodejs/express routes are top down.

the hard way.

hashtag fail.

if you put a:

app.get("/:id", (req, res, next) => {
//things go here
});

before a:

app.get("/things", (req, res, next) => {
//other things go here
});

The second route ignores you; mocks you; tells your time is not valuable.

Also it’s been so long since I’ve done client-side jQuery that I feel like Bart Mancuso: