Do spaces between statements and keywords in java have negative effect on programme's performance? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Do spaces between statements and keywords in java have negative effect on programme's performance?

eg. public static void main(String args[]){ int x =2; int y = 4; System. out.println(x); System.out.println(); }

25th Nov 2017, 6:58 AM
sal sal
sal sal - avatar
3 ответов
+ 7
No, but no need for that because you code will be harder to read.
25th Nov 2017, 7:30 AM
Vukan
Vukan - avatar
+ 5
compiler ignores whitespaces
25th Nov 2017, 7:44 AM
Peerzada Burhan
Peerzada Burhan - avatar
0
Nope, But being a good programmer, You've to follow standard while coding (e.g indent, writing comments, declaring meaningful variables) to make sure that others can read your codes. By increasing readability in your codes, you'll be able to work with others easily while working with a project. - Try to keep your code neat and clean. ^_^
25th Nov 2017, 10:24 AM
jamilxt
jamilxt - avatar