cocobean

joined 1 year ago

I bought 2 boxen of doughnuts

[–] cocobean@bookwormstory.social 16 points 1 month ago (2 children)

"it costs money to install AC"

Sure, weak excuse, but let's go with it -- What's the excuse for not giving water? They get water ONCE A DAY, if that? That's just completely fucked and insane

[–] cocobean@bookwormstory.social 2 points 3 months ago

Indoor is good though. Floating around the mall is a good activity for shit weather days

Is it? It's just an optional property. And Typescript will tell you that it's optional.

People love to complain about npm and node_modules, but I think they were on to something with the simplicity of it.

[–] cocobean@bookwormstory.social 1 points 1 year ago (2 children)

Return undefined.

Typescript.

Why error? Just return undefined. Simple, no try/catch needed.

[–] cocobean@bookwormstory.social 2 points 1 year ago (8 children)

I had to use Python for a bit at work and it was confusing

pipenv, venv, virtualenv, poetry...wtf is all this shit

a.b vs a['b'] vs a.get('b')...wtf is a KeyError