<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/8rvstwltc" -->

---
title: Why Semicolon is Used in Programming? The Surprising...
description: A look at the history and rationale behind semicolons in programming languages. Starting with ALGOL's design decision to use semicolons as statement separators...
canonical: https://daily.dev/posts/8rvstwltc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why Semicolon is Used in Programming? The Surprising Truth Every Coder Should Know ! | Parui Dev | daily.dev
og:description: A look at the history and rationale behind semicolons in programming languages. Starting with ALGOL's design decision to use semicolons as statement separators...
og:url: https://daily.dev/posts/8rvstwltc
og:image: https://api.daily.dev/og/posts/8RVsTwLTc.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Semicolon is Used in Programming? The Surprising Truth Every Coder Should Know ! | Parui Dev

**[Pratap Parui](https://daily.dev/sources/0tfbwjjsochdgqaxvpoje)** · [@paruidev](https://daily.dev/paruidev) · 1 upvotes · 0 comments

## Summary

A look at the history and rationale behind semicolons in programming languages. Starting with ALGOL's design decision to use semicolons as statement separators (over commas or periods), the post traces how this convention spread to C, C++, Java, and JavaScript. It also covers Automatic Semicolon Insertion (ASI) in modern languages like JavaScript and Go, and contrasts this with whitespace-based approaches used by Python and Ruby.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.paruidev.com/2026/04/why-semicolon-is-used-in-programming.html>

## Similar posts on daily.dev

- [No Semicolons Needed](https://daily.dev/posts/no-semicolons-needed-jfhukw9ya) · Lobsters · 1 upvotes · 0 comments
- [JavaScript’s Most Forgiving Syntaxes](https://daily.dev/posts/javascript-s-most-forgiving-syntaxes-dar9euvvn) · Medium · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/8rvstwltc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/8rvstwltc","headline":"Why Semicolon is Used in Programming? The Surprising Truth Every Coder Should Know ! | Parui Dev","text":"Shared: Why Semicolon is Used in Programming? The Surprising Truth Every Coder Should Know ! | Parui Dev","url":"https://daily.dev/posts/8rvstwltc","datePublished":"2026-04-08T15:05:48.757Z","dateModified":"2026-04-08T15:07:00.144Z","author":{"@type":"Person","name":"Pratap Parui","url":"https://daily.dev/paruidev","image":"https://media.daily.dev/image/upload/s--uHQi3PDa--/f_auto/v1728728143/avatars/avatar_0TFbWJjSOcHDGqaxvPOjE","description":"Consultant • Frontend developer • UI UX Designer • Open source Enthusiast • Tech Writer","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":650}},"image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/ovdg4HpIU"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/0tfbwjjsochdgqaxvpoje","name":"Pratap Parui"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pratap Parui","item":"https://daily.dev/sources/0tfbwjjsochdgqaxvpoje"},{"@type":"ListItem","position":3,"name":"Why Semicolon is Used in Programming? The Surprising Truth Every Coder Should Know ! | Parui Dev"}]}
```

