4 Followers
2 Following
172 Posts
I write code.
Oh, and in case anyone was wondering, I mostly do everything in terminal so I "resorted" to GUI removal tactics (didn't feel like spending more than 10 seconds figuring out how to get `rm --` to work; I tried \'s and quotes, that was enough effort for me)
That's two dashes, if you couldn't guess.

Reminder to future self:

Don't accidentally create a file named --, it's a pain in the ass to delete.

The picture didn't attach for some reason https://fart.social/media/vJiXaCxen4YU0YvQNcE
Websites load like it's 1995! #ogchromebook
Just a little out of date. #ogchromebook
Took the battery out first because it was a little warped. Didn't feel like dying in fire today.
Just fired up the old cr48 for the first time in years. #ogchromebook

#functionalprogramming #javascript snippet of the day

`(...o) => _.partial(_.assign, {})(...o)`

Example:

```
> const _ = require('lodash')
undefined
> const mix = (...o) => _.partial(_.assign, {})(...o)
undefined
> mix({one:1}, {two:2})
{ one: 1, two: 2 }
> mix({one:1}, {too:2})
{ one: 1, too: 2 }
```

Avoid a lot of repetitious `_.assign({}, ...)`