Sitemap
Dev Genius

Coding, Tutorials, News, UX, UI and much more related to development

Member-only story

Exploring Programming Languages — Miranda

--

Press enter or click to view image in full size
A female robot coding while holding an umbrella. Make it Victorian style.
Generated by Google’s Gemini

Let’s continue our exploration of programming languages with an old but really cool one: Miranda.

Not a Medium subscriber? 😕 You can read this post for free here 🥳

Miranda is an old language, as it’s already 41 years old. It was first published in 1985. But somehow it became almost forgotten.

I heard about Miranda around 2015, as I had already learned other functional languages such as Haskell and Erlang.

Fun fact: Miranda inspired Haskell 🤓

Another fun fact: Miranda has no variables or loops 🤯

Last fun fact: Miranda shares the same extension as the Mercury Programming Language 🤝

Ok, let’s jump into our main topic, which is creating an LED Numbers application.

The application should work like this: we input 1977, and it returns:

1997 written in LED Numbers
LED Numbers output

Now, keep in mind that we want to show this to newcomers to Miranda, not to seasoned developers.

The first thing we’re going to do is create a function that will return the required value. Wait, what? No Map, Dictionary, or Hash? Nope, there’s…

--

--

Senior Developer Advocate 🥑, Author of the Frankie Programming Language, Programming Languages Archaeologist, Punk Dad. Love @AFI

Dev Genius
Dev Genius

Published in Dev Genius

Coding, Tutorials, News, UX, UI and much more related to development