Why on earth does the rock have a programming language?

Unfortunately Dwanye the rock does not have a programming language, nor do I think he’s that interested to ever read this blog. If you are Dwayne, Love you in the fast and furious franchise.

On a serious note, Upon listening to the Art of Code by Dylan Beattie, his creation of a rock programming language utterly blew me away. Not only because he created a programming language which is as impressive as it is, but he combines this with rock music, another thing I absoloutely adore. Now My interest in rock originated from my Dad playing it in the car, telling me “It’s part of my education” and for Dylan to combine the two is beyond anything I could’ve imagined in the scope of fun projects.

Website for rockstar

Here is the source code

Midnight takes your heart and your soul
While your heart is as high as your soul
Put your heart without your soul into your heart

Give back your heart

Desire is a lovestruck ladykiller
My world is nothing
Fire is ice
Hate is water
Until my world is Desire,
Build my world up

If Midnight taking my world, Fire is nothing and Midnight taking my world, Hate is nothing
Shout "FizzBuzz!"
Take it to the top

If Midnight taking my world, Fire is nothing
Shout "Fizz!"
Take it to the top

If Midnight taking my world, Hate is nothing
Say "Buzz!"
Take it to the top

Whisper my world

Here is the python transpiler

def Midnight(your_heart, your_soul):
    while your_heart >= your_soul:
        your_heart = your_heart - your_soul
    return your_heart

Desire = 100
my_world = False
Fire = 3
Hate = 5
while not my_world == Desire:
    my_world += 1
    if Midnight(my_world, Fire) == False and Midnight(my_world, Hate) == False:
        print("FizzBuzz!")
        continue
    if Midnight(my_world, Fire) == False:
        print("Fizz!")
        continue
    if Midnight(my_world, Hate) == False:
        print("Buzz!")
        continue
print(my_world)

Now not only is this a badass rock song, the control structures 'is' defines a definiton, 'takes' defines a function and its associated paramters, and 'shout' is a print statement.

Now, Dylan come up with this in the pub, I cannot image sheer enjoyment you have of this compiling and it running, to shout FizzBuzz!! repeatidly. One day I'll create a language like this using Dwayne the Rock quotes, then that would really be ironic.