You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copyright year is 2015, I forgot to point this out earlier
"Ritchie had this idea called ..." - This might be nothing but the reader might have forgotten who "Ritchie" is, as he was only briefly mentioned in an earlier chapter:
"You don’t have to be the reincarnation of Dennis Ritchie"
the term "Ref counting" isn't formally introduced. "Reference counting is and then "Ref counting" is used. This is me being super picky.
"There are two main techniques for managing memory: reference counting and tracing garbage collection (usually just called “garbage collection” or “GC”). Ref counters are much ..."
could say something like "reference (ref) counting" or something a bit better. I don't have a great solution here.
The term "literal" is used. This is first used just once in "A Map of the Territory":
"Others may be several characters long, like numbers (123), string literals ("hi!"), and identifiers (min)."
I don't believe "literal" is defined anywhere. I have similar feelings with other terms like "expressions" etc.. It might be worth having a glossary or something to that effect.
"Functions are first-class in Lox" - I don't think "first-class" is defined.
sometimes "first-class", sometimes "first class".
comments
I love how the "Unified Theory of Garbage Collection" PDF name is "bacon-garbage".
The text was updated successfully, but these errors were encountered:
copyright year is 2015, I forgot to point this out earlier
Fixed. This trips everyone up, even though only showing the oldest date is in fact sufficient. I think people expect copyrights to show freshness, when the intent is actually to show originality. The older the copyright the better, because it shows you got there first.
But, since it confuses everyone, changed it to show the date range.
"Ritchie had this idea called ..."
Added Dennis.
the term "Ref counting" isn't formally introduced.
Yeah. I looked at that pair of paragraphs and tried to figure out a what to weave in "I'm not gonna explain them", but couldn't get it to flow. 🤷♂️
The term "literal" is used.
An ongoing dilemma I have is not being sure how much knowledge the reader has. I am assuming they are already an experience programmer, so I expect some language lingo to be familiar to them as users of programming languages. In most cases, I do try to define it, at least roughly, but I don't want to spend too much prose assuming they know nothing.
"Functions are first-class in Lox" - I don't think "first-class" is defined.
It says: "which just means they are real values that you can get a reference to, store in variables, pass around"
I think that's enough of a definition. Hopefully, readers are already familiar with the term.
sometimes "first-class", sometimes "first class".
Ah, yes. The rule I'm following is that terms like this are hyphenated when used as an adjective ("first-class function") and not when used as a noun phrase ("functions are first class"). But I wasn't consistent. Went through and fixed a couple.
possible errors (if being really picky)
I don't believe "literal" is defined anywhere. I have similar feelings with other terms like "expressions" etc.. It might be worth having a glossary or something to that effect.
comments
The text was updated successfully, but these errors were encountered: