shinysdr icon indicating copy to clipboard operation
shinysdr copied to clipboard

Remove “block” terminology from client

Open kpreid opened this issue 6 years ago • 2 comments

The word “block”, as used in the JS client code, actually means “remote object”, or more precisely “object composed mostly of Cells in a particular fashion”, corresponding to ExportedState on the server side. This is left over from very early design where such objects were almost all also GNU Radio blocks on the server side.

Find better vocabulary and use it.

kpreid avatar Feb 19 '18 01:02 kpreid

Today I thought of referring to this category of objects as Cellular. Pros: Short and descriptive. Cons: Possibly confused with cellular radio; is more an adjective than a noun.

If I did use this name I would rename both “block” and “ExportedState”.

kpreid avatar May 10 '19 00:05 kpreid

Another piece of the puzzle is ReferenceT which is the server-side value type referring to ExportedStates. This is arguably a different concept, because it is named what it is because it refers to a value that should be proxied rather than copied to the client — but that's more of a statement about what the type is guaranteed to contain than what it is

kpreid avatar Jul 15 '19 02:07 kpreid