For instance; I have a function called:
int ReadEncoderSpeedRPM_ ( int channel );
I want to split it left and right. But fewer Revolutions per minute at the end, limits me from this kind of renaming;
int ReadEncoderSpeedRPML_ (void);
int ReadEncoderSpeedRPMR_ (void);
It annoys, renames others Posible;
int ReadEncoderSpeedRPM_L_ (void);
int ReadEncoderSpeedRPMl_ (void);
int ReadEncoderSpeedRPMl_ (void);
int ReadEncoderSpeedRpmL_ (void);
int ReadEncoderSpeedrpmL_ (void);
Which one (or the other) is most recommended, recommended and why?
source
share