What does "Semilicolon" mean?
- Pawel

- Dec 12, 2022
- 1 min read
Have you ever wondered why your code never works when all lines seem perfectly fine?
.
Found the culprit - š¢ š®šŖš“š“šŖšÆšØ š“š¦š®šŖš¤š°šš°šÆ!
.
The purpose of semicolon is either as statement separators or statement terminators in most programming languages, but their use has changed in the past 60 years.
.
Today, many mainstream programming languages (JS, C+, C++, JAVA) allow you to leave out semicolon at the end of most statements that end with a newline as statement terminators.
.
On the other hand, Python uses newline characters as a statement terminator. With newer programming languages gaining popularity, would semicolons fade out its purpose?
.
.
.



Comments