apjanke / octave-tablicious

Table (relational, tabular data) implementation for GNU Octave
https://apjanke.github.io/octave-tablicious/
GNU General Public License v3.0
29 stars 11 forks source link

Rename example "dataset" classes, for clarity and collision avoidance #130

Open apjanke opened 8 months ago

apjanke commented 8 months ago

Tablicious has a few different classes with base namedataset or datasets, enough to be confusing.

They're all example-dataset stuff, and are not equivalents of Matlab's dataset or the dataset in OF Statistics. Plus, similar class names that differ only in their namespace qualification or the "s" at the end can be confusing. And a name collision on just the base name of a namespaced class with a standard class could be a problem, e.g. when cd'ing around, in doctest, or in Octave stuff that doesn't properly support namespaces.

Rename them to something better. Do it for a minor version release, bc even though these are only in the examples code, that would be a bit of a breaking change for users.

Here, "ex dataset" is short for "example dataset".

Current classes:

What to do

I'm thinking it should be like "exdatasets" instead, and the +internal ones with "impl" or something in their base name. Maybe capitalize the class names, too? Though tblish.dataset is kinda mimicking a package in terms of the interface it presents. I dunno.

References