For example, using C, let's say I define a node like this:
typedef struct nde {
int val;
struct nde* next;
}node;
And then I "wrap" it with something like this:
typedef struct lst {
node* head;
}list;
I do mean this case specifically. I know that using the wrapper could be useful if you want to include other information, but is it considered "bad practice" if it only contains the a pointer to the head? It's a much more intuitive way of doing it for me, mainly because when pushing or popping or using some other function you'll always be dereferencing, and the naming conventions make more sense as well.