- 2

The semicolon part its complicated

15th Jan 2020, 10:22 AM
sarah khaemba
sarah khaemba - avatar
5 Antworten
+ 3
what is hard about it? every statement has to end with semicolon, that is how the compiler know where a statement starts and where it ends. if you don't like it use python. or assembly where semicolon is used for comments.
15th Jan 2020, 10:53 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 3
You can also use prettier extensions for vscode. May this extension also available for other text-editors. Prettier extension will add semicolons for you when you format your document. If you use your prettier settings as format on save. It will add semicolon to your documents. Where needed.
15th Jan 2020, 11:53 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 2
what are you talking about?
15th Jan 2020, 10:30 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 2
Ok thanks
15th Jan 2020, 10:57 AM
sarah khaemba
sarah khaemba - avatar
+ 1
Is a must you end with a semicolon
15th Jan 2020, 10:47 AM
sarah khaemba
sarah khaemba - avatar