Human Factors and Typography for More Readable Programs https://www.amazon.com/-/he/Ronald-M-Baecker/dp/0201107457
Beyond its relevancy to the parent comment, would you consider it a good movie yourself? (for a random/average HN commenter to watch)
https://gist.github.com/faried/6955a992c6d68362fd1e07a1cd575...
- go to https://developer.spacemit.com/
- click on documentation
- click on Keystone
- click on K1
iex(2)> "/home/cess11" * 9
** (ArithmeticError) bad argument in arithmetic expression: "/home/cess11" * 9
:erlang.*("/home/cess11", 9)
iex:2: (file)
Documentation is full of type information: defmodule Multiply do
def m9(m1), do: m1 * 9
end
# elsewhere...
defmodule Caller do
def doit() do
Multiply.m9(2)
Multiply.m9("hi")
end
end
It won't raise an exception or give you a warning while compiling it (tested with 1.18.4). Even adding @spec m9(integer()) :: integer()
above its definition doesn't do anything.
I understand that Mastodon has a "local feed", and even if you're its sole user, if you don't block anonymous readers from access, that means someone could technically see a message by someone else that you're subscribed to, take umbrage at it, and sue you for making it available on your server, even temporarily.
From what I've seen of Mastodon, it does seem possible to block access to the server's local feed, but I don't know that for sure.
In addition to the local feed, there's also what you personally boost. I'm not sure how one strikes a balance, and if the software is still usable, if you were to hide the main URL for your feed (at least, the URL so that visitors from the web can read your feed on your server). Would it still be possible to participate in conversations, would people still be able to subscribe to you?
Yes. I follow several remote users who default to "unlisted" posts. (To be honest, I don't know if they're unlisted or follower-only posts -- I can't tell.)