📘 Computing factorial! using Perl 6

Print the factorial of a given number. By definition, the factorial of a positive integer number N is a product of all the integers numbering from 1 to N, including N. In Perl 6, this can be easily expressed with the use of a reduction operator: my $n = 5;my $f = [*] 1 .. $n;say $f; The … Continue reading “📘 Computing factorial! using Perl 6”

D at a Glance — A Language a Day, Advent Calendar 2019 Day 21/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 21 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the D programming language. Facts about the language Some facts about the D programming language: Re-thinking of C++ Static typing and type inference Allows imperative, object-oriented, and functional programming … Continue reading “D at a Glance — A Language a Day, Advent Calendar 2019 Day 21/24”

Mercury at a Glance — A Language a Day, Advent Calendar 2019 Day 20/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 20 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Mercury programming language. Facts about the language Some facts about Mercury: Based on Prolog Declarative programming Compiled language (unlike Prolog) Appeared in 1995 Website: www.mercurylang.org Installing and running … Continue reading “Mercury at a Glance — A Language a Day, Advent Calendar 2019 Day 20/24”

Red at a Glance — A Language a Day, Advent Calendar 2019 Day 19/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 19 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Red programming language. Facts about the language Some facts about the Red programming language: Based on Rebol Can be used for low-level programming (via Red/System) and as a … Continue reading “Red at a Glance — A Language a Day, Advent Calendar 2019 Day 19/24”

Hy at a Glance — A Language a Day, Advent Calendar 2019 Day 18/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 18 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Hy programming language. Facts about the language A dialect of List Basically, it is Python written with the syntax of Lisp Appeared in 2013 Website: hylang.org Installing and … Continue reading “Hy at a Glance — A Language a Day, Advent Calendar 2019 Day 18/24”

Go at a Glance — A Language a Day, Advent Calendar 2019 Day 17/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 17 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Go programming language. Facts about the language Some facts about the Go programming language Statically typed Compiled language Fast compilation Enforced code style Design at Google Appeared in … Continue reading “Go at a Glance — A Language a Day, Advent Calendar 2019 Day 17/24”

V at a Glance — A Language a Day, Advent Calendar 2019 Day 16/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 16 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the V programming language. Facts about the language Some facts about the V programming language: Inspired by Go Is still under heavy development Compiled language Statically typed Appeared in … Continue reading “V at a Glance — A Language a Day, Advent Calendar 2019 Day 16/24”

Nim at a Glance — A Language a Day, Advent Calendar 2019 Day 15/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 15 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Nim programming language. Facts about the language Some facts about the Nim programming language: A statically-typed language Compiles to C, C++, JavaScript, and Objective-C Semi-case-insensitive identifiers (see below) … Continue reading “Nim at a Glance — A Language a Day, Advent Calendar 2019 Day 15/24”

Clojure at a Glance — A Language a Day, Advent Calendar 2019 Day 14/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 14 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Clojure programming language. Facts about the language Some facts about Clojure: Based on Lisp Functional programming support Targets Java platform Appeared in 2007 Website: clojure.org Installing and running … Continue reading “Clojure at a Glance — A Language a Day, Advent Calendar 2019 Day 14/24”

OCaml at a Glance — A Language a Day, Advent Calendar 2019 Day 13/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 13 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the OCaml programming language. Facts about the language Some facts about OCaml: Based on Caml (which is based on ML) Static type checking Supports functional, imperative, and object-oriented programming … Continue reading “OCaml at a Glance — A Language a Day, Advent Calendar 2019 Day 13/24”

Elixir at a Glance — A Language a Day, Advent Calendar 2019 Day 12/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 12 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Elixir programming language. Facts about the language Some facts about the Elixir programming language: Based on Erlang, and using its virtual machine A functional language Supports concurrent execution … Continue reading “Elixir at a Glance — A Language a Day, Advent Calendar 2019 Day 12/24”

Raku at a Glance — A Language a Day, Advent Calendar 2019 Day 11/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 11 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Raku programming language. Facts about the language A re-thinking of Perl Gradual type system Multi-paradigm: object-oriented, functional Allows concurrent computing Announced in 2000, implemented in 2015 Renamed from … Continue reading “Raku at a Glance — A Language a Day, Advent Calendar 2019 Day 11/24”

Lua at a Glance — A Language a Day, Advent Calendar 2019 Day 10/24

About this ‘A Language a Day’ Advent Calendar 2019 Welcome to Day 10 of this year’s A Language a Day Advent Calendar. Today’s topic is introduction to the Lua programming language. Facts about the language Some facts about Lua: A dynamically typed language Strong focus on being implementable in ANSI C (which ensures it works on … Continue reading “Lua at a Glance — A Language a Day, Advent Calendar 2019 Day 10/24”