3 ms·
> "space" is just a common English term for this kinda thing Isn't that exactly the problem? It's like using "node" for something in your program's design, or
by embedding-shape 2mo ago
> "space" is just a common English term for this kinda thing
Isn't that exactly the problem?
It's like using "node" for something in your program's design, or "tree" or "type" whatever. Usually it's better to find a more specific name that communicates the intent even better, or at least less common name, as it'll inevitably will clash with something else, and by then you wish you'd name it differently than every other single thing out there. Unless it truly is only that thing which can be called "tree", don't suddenly call it "perennial" just because.
- pibaker 2mo agoIt's funny you said "node" because the first thing it reminds me of is NodeJS. I'll admit I don't know why they called it node. But I have never seen anyone bothered by it either.
- LowTechHN 2mo agoIf I keep it vague I can do things like: let { type } = customer; type = “premium”; setCustomer({ type }); It’s only slightly more verbose if I named the variable: customerType In many cases, the data I’m dealing with is outside my name control and commonly has something like { type } (e.g. <input />)