top of page

What does "Semilicolon" mean?

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?

.

.

.


bottom of page