Skip to content

Instantly share code, notes, and snippets.

@tuanpmt
Created May 2, 2022 10:25
Show Gist options
  • Save tuanpmt/ee9b60e2ceec67c324d9b49dc422e433 to your computer and use it in GitHub Desktop.
Save tuanpmt/ee9b60e2ceec67c324d9b49dc422e433 to your computer and use it in GitHub Desktop.
REVEALING NAMES
/*
Bad: We have a bunch of get_data, and after a few months,
we don't know which get_data is for what
*/
data_t *get_data();
/*
Good
*/
mp3_audio_data_t *get_mp3_data_from_buffer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment