Hacker News new | ask | show | jobs
by KJBweb 4339 days ago
Brainfuck was a thing too! http://en.wikipedia.org/wiki/Brainfuck
4 comments

Many of you reading this may have overheard (or participated in) a conversation like this while studying CS or something related:

"Hey, so what language did you use for the assignment?"

"...Java. I don't know. I was going to use C but I don't care, I just wanted to be done with it, you know?"

"Yeah but the assignment LITERALLY said you could use ANY programming language as long as the guy can execute your code, right?"

"Okay? So?"

"You know what Steve did? He wrote it in BRAINFUCK. HAHAHAHA."

"Whaaat? Haha!"

"You know what BRAINFUCK is?"

"Uh... no, what? Haha."

"It's like this... like a two-dimensional Turing machine or something and only uses special characters and it's almost impossible to read! But it's a Turing machine so it can do everything any other programming language can do!"

"And it's literally called Brain-Fuck?!? Hahaha!"

"Yeah! Hahaha I wish I could have seen the look on the guys face who had to execute and test it but you know they said any programming language is okay so they totally have to do it!"

"Haha yeah Steve always does shit like this!"

In my CS assignments I couldn't choose the languages.

The only thing was the seminar "current programming languages" where everyone had to do a talk about a language of his choice. I did "The Shakespeare Programming Language".

Yeah, Steve was crazy in college. Wonder what he's up to now...
Brainfuck is kinda cool because it provides such a minimal language with which to practice writing interpreters and even compilers (or a JIT, as with RPython). But it's kinda uncool because of the name and its obtuse syntax.. so anyone know of a similarly minimal language that's more readable?
Unary: convert Brainfuck programs to unary number system source code.

http://esolangs.org/wiki/Unary

I see brainfuck all the time over at http://codegolf.stackexchange.com/

It's... weird.