ivanovkirilg / linebot

A 'robot' moving on 1 axis for learning purposes
0 stars 0 forks source link

Componentize code base #1

Closed ivanovkirilg closed 5 months ago

ivanovkirilg commented 6 months ago

The source code is reorganized into directories/sub-projects with a regular structure.

Component name: 2 or 4 letters reminiscent of the functionality (e.g. CTRL from ConTRoLler).

Directory structure:

CMPT    (component)
|- inc     (internal headers)
|- include (added to include paths of clients)
|  |- CMPT    (public headers)
|- src     (source code)
|- test    (internal test code)