news.volyx.in

DreamBerd is a perfect programming language (github.com)

736 points by Davidbrcz · 1181 days ago · 208 comments on HN

Article summary

The article presents a fictional programming language called Gulf of Mexico, formerly known as DreamBerd, which is described as a perfect language with various unusual features. These features include using exclamation marks to end statements, a 'not' operator represented by a semi-colon, and arrays starting at index -1. The language also has a unique approach to variable declarations, lifetimes, and type annotations. The article's tone is humorous and satirical, poking fun at common programming language design choices.

Main themes

  • Programming Language Design
  • Satire and Humor
  • Reactive Programming
  • Variable Lifetimes
  • Type Annotations
  • Constants and Variables

What commenters say

  • Some commenters find certain features of the language, such as the 'when' keyword, to be interesting and potentially useful despite the language's overall absurdity. The 'when' keyword is seen as a form of reactive programming. The use of lifetimes and timed variables is viewed as having some practical applications. The language's design is criticized for being overly complicated and impractical. Some features, like the 'previous' keyword, are seen as potentially useful in specific contexts, such as scripting languages for turn-based games. The tone of the article is praised for its comedic timing and internal consistency. The language's approach to constants and variables is seen as confusing and potentially leading to bugs.
  • themes": [