Semantic compression (2014)
31–33 of 33 posts
Re: Semantic compression (2014)
#32So I guess he thinks that classes are great as long as there is never any inheritance? And so if you do that then it doesn't count as object oriented programming or something. Especially if you give it a new name like "semantic compression". Lol. I think the newish thing is traits such as in Rust.
> Normally, I would probably not make these member functions, but since The Witness is a more C++-ish codebase than my own, I thought it was more consistent with the style (and I don’t have a strong preference either way)
My interpretation of this is that normally he'd make plain C structs and functions that operate on them. So quite far from anything people would normally describe or think of as object oriented.
Re: Semantic compression (2014)
#33Semantic compression is such a cool shorthand. This article really helped me put things I had believed for years into words when I first read it. It's pretty amazing.