Bosque

The war between wetware and hardware.
User avatar
Pyrrho
Posts: 31413
Joined: Sat Jun 05, 2004 2:17 am
Title: Man in Black
Location: Division 6

Bosque

Post by Pyrrho »

New programming language from Microsoft! :hyper:

https://dev.to/0xrumple/all-what-you-ne ... osque-38c0
The author of Bosque, Mark Marron, introduces a new programming model called Regularized Programming.

In his research paper, he mentions how structured programming (that we knew since 1970) might cause "accidental complexity"!

We believe that, just as structured programming did years ago, this regularized programming model will lead to massively improved developer productivity, increased software quality, and enable a second golden age of developments in compilers and developer tooling.
Okay sure.
The flash of light you saw in the sky was not a UFO. Swamp gas from a weather balloon was trapped in a thermal pocket and reflected the light from Venus.
User avatar
Witness
Posts: 35125
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness »

Pyrrho wrote: Sun Apr 21, 2019 10:51 pm Okay sure.
Reminds me of Prolog, the "5th generation language" which completely revolutionized programming in the… what… eighties? :mrgreen:


Judging from the (admittedly puny) example provided:

Image

you can write the same thing more lazily in Lisp:

Code: Select all

> (setq a (list 1 2 3 4 5))
(1 2 3 4 5)

> (map (fn (x) (* 2 x)) a)
(2 4 6 8 10)
or even more tersely in Mathematica. :|

Code: Select all

a = {1, 2, 3, 4, 5}
b = (2 #)& /@ a
(2 #)& is an anonymous function multiplying by 2, and /@ is the map operator. :coolspecs:
Last edited by Witness on Tue Apr 23, 2019 3:22 am, edited 1 time in total.
User avatar
Witness
Posts: 35125
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness »

Abdul Alhazred wrote: Sun Apr 21, 2019 11:26 pm Whatever happened to good old APL? :)
It eloped with Brainfuck. :x
User avatar
Witness
Posts: 35125
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness »

Abdul Alhazred wrote: Sun Apr 21, 2019 11:26 pm Whatever happened to good old APL? :)
Which reminds me that the OuLiPo (Ouvroir de Littérature Potentielle) was fond of APL for their literary computer explorations: http://markwolff.name/wp/digital-humani ... pian-code/. :mrgreen: