Brainfuck is an esoteric programming language known for extreme minimalism, created by Urban Muller in 1993. An esoteric programming language is one that is not developed keeping practical applications in mind, and is developed to demonstrate or try out something or just for entertainment or show off.
Brainfuck is so minimalistic that it comprises of just 8 valid characters (instructions), each of which imply something, to build programs! White-spaces are ignored, just like the majority of commonly used programming languages.
To give you a taste, here is a Brainfuck program to print “CYBERPLUS”:
++++++++[>++++++++>++++++++++<<-]>+>+<++.>++++++++.<-.+++.>-------.--.----.+++++++++.--.
Makes sense, doesn’t it?
In a separate blog article I will explain how this program works, how to make sense out of it, and how to write programs like this!
Oh, and just before I end this article here, since the majority of you are “programmed” to learn any new programming language using the standard “Hello World!” example, here is a Brainfuck program to do so:
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
Related Articles
1 user responded in this post