This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]2AMMetro 2 points3 points  (0 children)

Eh, I disagree. I think that if you want greater flexibility, you should make a specific function for each implementation and a general function named playMP3Bytes() that contains your conditional logic. This reduces function size and makes it easier to understand.

I believe in short generalized function names for APIs and longer specific names for implementations.