+ 4

a = 42 if a > 7 puts "Yes" end why do we put all the spaces between?

7th Mar 2017, 8:25 AM
Billy Dymek
Billy Dymek - avatar
2 Respostas
+ 9
So we can make the code readable its useful for separating algorithms
17th Mar 2017, 1:41 AM
MrCoder
MrCoder - avatar
+ 6
you dont for example ypu could wright var a = 45; if (a > 10) {document.write("hello")}; all on one line, you use all the spaces to make you code more readable
7th Mar 2017, 9:07 AM
Daniell McCallay
Daniell McCallay - avatar