KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose I have a struct list , and I want to provide a "constructor" and a "destructor" function. How should I name them, respectively? void list__init(struct list * self); void list__construct(struct list * self); void list__create(struct list * self); ... void list__done(struct list * self); void list__destruct(struct list * self); void list__destroy(struct list * self); ... Is there an established naming convention that is predominant in the real world?
Tags (comma-separated)
Save Edits
Cancel