diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 10:24:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 10:24:14 -0800 |
commit | f116818c7c6e98a5d9bfa7058096b42df85d8e1c (patch) | |
tree | ba3458a0c51f67c27c7347b1c5f5be2fc33965e2 /034address.cc | |
parent | b771d375d3e11dcf3e6e55175f2ae128448177a7 (diff) | |
download | mu-f116818c7c6e98a5d9bfa7058096b42df85d8e1c.tar.gz |
3656
Periodic cleanup to replace 'reply' with 'return' everywhere in the repo. I use 'reply' for students to help reinforce the metaphor of function calls as being like messages through a pipe. But that causes 'reply' to get into my muscle memory when writing Mu code for myself, and I worry that that makes Mu seem unnecessarily alien to anybody reading on Github. Perhaps I should just give it up? I'll try using 'return' with my next student.
Diffstat (limited to '034address.cc')
-rw-r--r-- | 034address.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/034address.cc b/034address.cc index 5d453684..63a6cbdf 100644 --- a/034address.cc +++ b/034address.cc @@ -5,7 +5,7 @@ //: units (containers or arrays) that may contain many different primitives at //: once. Containers and arrays can grow quite large in complex programs, and //: we'd like some way to efficiently share them between recipes without -//: constantly having to make copies. Right now 'next-ingredient' and 'reply' +//: constantly having to make copies. Right now 'next-ingredient' and 'return' //: copy data across recipe boundaries. To avoid copying large quantities of //: data around, we'll use *addresses*. An address is a bookmark to some //: arbitrary quantity of data (the *payload*). It's a primitive, so it's as |