Microsoft’s New Programming Language ‘Bosque’ Keeps Your Code Simple

Microsoft has launched a new programming language called Bosque. The company says Bosque has been designed to write code that is “simple, obvious, and easy to reason” for both humans and machines.

The purpose of this open-source project is to develop a functional programming language that prevents “accidental complexity” in coding and development. Codes generated in Bosque language are supposed to be simple and easy by adopting algebraic operations and avoiding techniques that create complexity.

Bosque is the brainchild of Microsoft’s computer scientist Mark Marron and is based on syntax and types of TypeScript. It also uses the semantics ML and Node/JavaScript.

Marron describes the new language as a move to shift from the paradigm of structured programming that became popular since the 1970s.

In a structured programming model, the flow control is managed through loops, conditionals, and subroutines. Bosque gets rid of sources of complexity like loops, mutable state, and reference equality. Marron described this new programming paradigm as “regularized programming” in his paper.

So Bosque doesn’t make use of ‘for,’ ‘while,’ ‘do while’ loops and it has a different approach to conditionals. Microsoft has introduced the concept of ‘Functors’ which does the same job loops and can increase software quality.

You can see in the image below how Functors differ from loops —

Image: Regularized Programming with the BOSQUE Language

Since Bosque is still in the development phase at this point, it is recommended not to use Bosque for any production work. However, developers are welcome to experiment with it and add their contributions to its GitHub repository.

With Bosque, Microsoft hopes that it’ll improve developer productivity, increase software quality, and support a range of new compilers and developer tooling experiences.

What do you think of the new programming language? Are you excited to try it?

Also Read: C++ Knocks Python From Top Three Popular Programming Languages

This post was last modified on April 20, 2019

Share

Recent Posts

  • News
  • Tech

You Can Play These New Microsoft Games Using Just Your Eyes

We have seen Microsoft work on several products for the specially-abled such as the Xbox Adaptive Controller. Taking this initiative…

June 19, 2019
  • News
  • Tech

ASUS 6Z First Impressions: Flip It Out For Awesomeness

Evidently, full-screen smartphones have become mandated and their attainment via a pop-up/flip selfie camera is something tech companies are adapting…

June 19, 2019
  • News
  • Tech

Huawei: 100% Refund To Users If Facebook & Play Store Apps Don’t Work

The ban imposed by the US on Huawei has gotten users into thinking and the company also announced yesterday that…

June 19, 2019
  • News
  • Tech

Asus 6Z With Motorized Flip Camera Launched In India

Asus has launched its much anticipated Asus 6Z smartphone in India at an event held in New Delhi. The smartphone…

June 19, 2019
  • News
  • Security

US Lawyer Who ‘Sucked’ Money From ‘Porn Lovers’ Faces 14-Year Prison Time

We have seen numerous examples of how legal tools are used by people to achieve their goals. US-based lawyer Paul…

June 19, 2019
  • News
  • Tech

PCI Express 6.0 Announced With 4-Times The Bandwidth Of PCIe 4.0

With the increasing demand for bandwidth across a wide range of devices used in consumer and enterprise domains, PCI Express,…

June 19, 2019