Good practice for naming function arguments in c? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Good practice for naming function arguments in c?

Iā€™m curious as to what is good practice? If the function is only intended for certain arguments is it common to name the arguments the same as the variables in the main portion of the code?

26th Oct 2018, 1:40 PM
Ryan
Ryan - avatar
1 Resposta
+ 1
thanks. i was thinking the same thing. Now i just need to practice naming my loop values better for embedded loops. thanks again for the reply.
27th Oct 2018, 11:35 PM
Ryan
Ryan - avatar