171 karma · joined Oct 20, 2017 (9y ago) · 174 submissions
comment 7y ago · link · parent
Programs have (static) types, data does not. Static typing removes correct programs from the language. Try this in some ML-like language:
let selfapply f = (f f) in
let identity x = x in
selfapply identity 42
If you transcribe this to (e.g.) Lisp, it will return the number 42. The program is short, simple, and safe, but well-regarded static type systems can't cope.comment 7y ago · link · parent
The search engine coughed up a PDF. I randomly opened it (p. 173) and read up to this author-provided "TL;DR" on p.176:
The main reason, however, for thinking that sociobiology is false, is the simple one I gave at the beginning: that it is obvious that human beings are the most intelligent and capable things on earth. But genes are not human. Therefore (etc.).
Uhhhm. Really?
comment 7y ago · link · parent
You can give the semantics of everything that happens in a safe d-t language in terms of church encoded tag-value pairs and yet the programmer can't break the abstraction because abstraction-breaking operations are syntactically unavailable.
It should count as testament to the success of dynamic typing that the abstractions are so safely enforced that you can squint and suddenly the whole language is semantically founded on them.
comment 7y ago · link · parent
> What syntactic methods are used in dynamically "typed" languages?
Interesting. You may have unwittingly provided one of the best justifications for the term "dynamically typed" I've seen so far.
That's because operations that violate a (safe) dynamically typed language's chosen set of abstractions (built using bits, church encoding, whatever) are syntactically inaccessible.
comment 8y ago · link · parent
Maybe that's partly because Haskell can easily become a bit too elegant. Between all the currying and combinators, the type helps to understand code "top down", i.e. when you don't have studied and memorized all "bottom up" component parts.
comment 8y ago · link · parent
Hipp:
> ... also learned that apparently no one feels the need to help novice CoC writers feel welcomed or safe.
Apparently! Good to see he's still got a sense of humor.
Then, a very enlightening response from a Social Justice Entrepreneur:
> There are folks who you could have hired to help you write and implement a code of conduct.
Hey, it's a living!
comment 8y ago · link · parent
Certainly not in the way "statically typed" is usually understood.
Containers (outside of specialized arrays) aren't parameterized, so every time you extract a value from a list or map, the "static type" is the top type. SBCL remains essentially unityped with islands of type propagation for better performance of (mostly) numeric code.
comment 8y ago · link · parent
Maybe being online turns anything into Reddit/HN.
On the other hand, word was most members are inactive and only a small percentage turn up at IRL events at all, i.e. strong (self) selection effects.
comment 8y ago · link · parent
Lack of reporting from others is no reason to believe Breitbart was first to know, e.g. https://mobile.twitter.com/jacknicas/status/1040014678263386...
> Doesn't that bother anyone?
I think it actually helps insulate Google from closer scrutiny of its monopoly position and deplorable business model. Why would any self-respecting country suffer an all-powerful ad-financed private Alphabet Agency? Because they think Evil is "on our side".
comment 8y ago · link · parent