- 1

Do you really need to create a space when writing on the next line

Java Script question

7th Jan 2018, 3:35 PM
Marquis Patton
4 Answers
+ 1
no you dont need to in most language(especially compiled one) but as sami mentioned you need them in python.
7th Jan 2018, 4:04 PM
shobhit
shobhit - avatar
+ 2
are you talking about indentation??? in javascript, no.. but in Python, yes!
7th Jan 2018, 3:40 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 1
First, spaces at begining of lines are called indentation... Next, as previously specified, in javascript that's not mandatory, but you really need to good indent your code when you handle more than few lines of code, to improve readability and so, debuging, updating and so on ^^
8th Jan 2018, 10:55 PM
visph
visph - avatar
0
@visph good to see you after long time ;)
9th Jan 2018, 12:05 AM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar