Naming

Nov 20, 2020

drawing about naming variables in programming

Transcription


Panel 1

[Two characters are in front of a box of papers.]

Character 1: HOW SHOULD WE NAME THIS FUNCTION?

Character 2: I DON'T KNOW, PICK A PAPER!


Panel 2

[Character 1 picked a paper.]

Character: I GOT << META >>


Panel 3

[Character 2 picked a paper.]

Character: I GOT << PROCESS >>


Panel 4

[Close up of a function named metaProcess().]

Out of the panel Character: GOOD. NO ONE WILL EVER FIGURE OUT WHAT IT DOES!


Tweet

The hardest part of programming is naming things. You are going to read a lot of code. Please make yours readable for the others!