2D Racket Syntax(racket-lang.org) The 2d language installs #2d reader support in the readtables, and then chains to the reader of another language that is specified immediately after 2d.
What does f(x) mean in C++?(biowpn.github.io) It is universally agreed that C++ is a complex language. One reason is that its syntax is highly overloaded, meaning that the same code could mean many different things.
Let’s do a simple mental exersice by considering the following code:
52 points by todsacerdoti 87 days ago | 14 comments
That's now valid syntax in Python 3.13(reddit.com) There are a few changes that didn't get much attention in the last releases, and one of them is that comprehensions and lambdas can now be used in annotations (the place where you put type hints).
The Ultimate Conditional Syntax(dl.acm.org) Functional programming languages typically support expressive pattern-matching syntax allowing programmers to write concise and type-safe code, especially appropriate for manipulating algebraic data types.
Coding without braces: An alternate C Syntax(deusinmachina.net) I recently stumbled upon an interesting piece of C language trivia that underscores how different computers were when C was first created. Specifically, C allows the use of digraphs (two letter combinations that represent a single letter) like <% and %> as alternatives of { and } and <: and :> as substitutes for [ and ]. The purpose of this was to provide an alternate syntax to support keyboards and character sets where braces and brackets were not available.