Better HN
topnewbestaskshowjobs
Log inSign up

WallowingInShit

3 karma · joined Jan 26, 2022 (4y ago) · 6 submissions

Submissions

comment 4y ago · link · parent

Except that wasn't a mistake, that was due to an intentional misinformation campaign.

comment 4y ago · link · parent

That's not letting me know, that's something I have to check.

comment 4y ago · link · parent

This is bad design. Why excuse bad design? When I send a text message and it doesn't arrive, my messaging app lets me know. With Signal, this is a step backward.

comment 4y ago · link · parent

has_my_thing(some_array) can be encapsulated too, using modules. For example, in elixir you have functions like List.to_string(some_list) and Map.values(some_map). This way, you get encapsulation and don't have to have a class.

comment 4y ago · link · parent

Same thing, but for JavaScript: https://github.com/tc39/proposal-pipeline-operator

Going forward, the pipe operator is going to be showing up in many new languages. I've used elixir a lot, and the pipe operator is a genius piece of syntactic sugar.

comment 4y ago · link · parent

M-x in emacs