What are the pros and cons of these two styles? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are the pros and cons of these two styles?

function 1 function 2 function 3 print result 1 print result 2 print result 3 or function 1 print result 1 function 2 print result 2 function 3 print result 3 My question is not bound to any particular language.

28th May 2018, 10:58 AM
Igor Matić
Igor Matić - avatar
1 Answer
+ 2
Pretty much doesn't matter, but second one is easier to read IMHO.
28th May 2018, 11:54 AM
BlazingMagpie
BlazingMagpie - avatar