πIntroduction - Zaidlang
What is Zaidlang?
A small, class-based programming language that's a joy to use.
class CoffeeMaker {
function constructor(coffee) {
this.coffee = coffee
}
function brew() {
printftw('Enjoy your cup of %s'.format(this.coffee))
}
}
maker = CoffeeMaker.new('espresso')
maker.brew()>>> Enjoy your cup of espresso