Adding syntax to the CPython interpreter
Now lets's change the grammar so that if we don't have an else condition we default to None .
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
Now lets's change the grammar so that if we don't have an else condition we default to None .
It has only been a few days since the announcement of Swift going open source and the activity around the project has been incredible. When Apple revealed th...
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites . This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.
Almost five months ago, I wrote a blog post about my new programming language, Hackett , a fanciful sketch of a programming language from a far-off land with Haskell’s type system and Racket’s macros. At that point in time, I had a little prototype that barely worked, that I barely understood, and was a little bit of…
How learning the Clojure programming language three years ago changed my life
My cofounder Joe and I recently finished SICP. It was a mind-bending experience: you start from just 3 concepts, and you recursively build up algebraic equation solvers, circuit simulators, 4 interpreters, and a compiler.
Find out more about HashLink, the newest Haxe target, a virtual machine used to develop system/server/desktop applications.
Loris Cro's Blog
japanese verbs are awesome. you can take the dictionary form of a verb (for example, "taberu", to eat) and turn it into many forms: taberu ("eat"): tabemasu…
Update: If you’re coming to this blog post from a compendium titled “Go is not good,” I want to make it clear that I am ashamed to be on such a list. Go is absolutely the least worst programming language I’ve ever used. At the time I wrote this, I wanted to curb a trend I was seeing, namely, overuse of one of the more…
Today's main topic is the "freezing" of the JEP list in JDK 21. In addition to that, however, we will also talk about Nulls in Valhalla. And finally, the obligatory Release Radar.
Is it Python 2 or 3 that gets the job done? We crunched the data to find out.
It’s important for web experiences to work great on mobile devices. The latest release of the Dart includes a development version of Dar...
One of the primary things that people don't understand about Objective-C is that it is a solution of the two language problem , or more prec...
Why Ruby’s Timeout is dangerous (and Thread.raise is terrifying)
C++ is late to the coroutine party, compared to other programming languages, but they are part of C++20. Prior to coroutines, a C++ programmer had two choices, roughly speaking:
A few month back, Apple quietly slipped a very nice Objective-C to Javascript bridge into WebKit. Since the first commit...
TL;DR: I believe Odin's inline assembly is currently the best out of any language.The most important aspects are of this article listed below. I am not aware of any other assembly (GCC/Clang/Rust/Go...) that would combine all of these aspects:Inline assembly is organized into "templates", similar to and callable as…
Ruby's switch statement is very versatile and flexible, especially due to the dynamic nature of Ruby. This post shows how it works with examples.
Introduction to parser combinators. Understand this functional programming concept for building parsers from smaller components.
For 16 years, JavaScript has been the language of the web browser. This language has enabled the building of compelling web applications and contributed to the success of the web. Other scripting languages could have filled the role JavaScript does but JavaScript was in the right place at the right time. Microsoft…
I’ve been saying the upcoming 0.11.0 release of Zig would have async/await/suspend/resume for 9 months now. You can probably find 10 different places where I promised in writing or in front of a camera that this next release would have this feature.
Kenneth Iverson’s 1964 language, APL, won him the Turing Award. His award lecture, Notation as a Tool of Thought, argued that better notations would lead people to deeper insights about mathematics. He provided a number of examples ranging across linear algebra, arithmetic, probability, and logic. Unfortunately, most…
A version of the paper below was published in Celebrating the 50th anniversary of Lisp , edited by Charlotte Herzeel, the conference record of Lisp50 @ OOPSLA’08 (Nashville, Tennessee, USA, 2008). That collection is available through the ACM Digital Library .