DEV Community

Cover image for Have you heard of coconut 🥥 ? The programming language 😬
Elliot Brenya sarfo
Elliot Brenya sarfo

Posted on

 

Have you heard of coconut 🥥 ? The programming language 😬

Yes.. you read it right!

Coconut is a functional programming language that compiles to Python. Since all valid Python is valid Coconut, using Coconut will only extend and enhance what you're already capable of in Python.

Why use Coconut? Coconut is built to be useful. Coconut aims to enhance the repertoire of Python programmers to include the tools of modern functional programming, in such a way that those tools are easy to use and immensely powerful. Not only that, but Coconut code runs the same on any Python version, meaning that even if you just use Coconut to write pure Python, you no longer have to worry about any core Python version differences—making things like the Python 2/3 split a thing of the past.

Installing Coconut is as easy as

installing Python,
opening a command-line prompt,
and entering:


pip install coconut

Enter fullscreen mode Exit fullscreen mode

which will give you access to all the features of Coconut, which adds to Python built-in, syntactical support

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git