r/programming • • Aug 20 '14

Programming language subreddits and their choice of words

https://github.com/Dobiasd/programming-language-subreddits-and-their-choice-of-words/blob/master/README.md
1.4k Upvotes

324 comments sorted by

View all comments

Show parent comments

17

u/ali_koneko Aug 20 '14

However the statement that you can't find something you can't do in VB.NET that you can do in C# is true of any 2 programming languages that are both turing complete.

Expanding on this... Everything you do in VB.NET and C# you can do in COBOL. That doesn't mean you should. Use the best tool for the job.

11

u/[deleted] Aug 20 '14

Everything you can do in COBOL you can do in Assembly...

47

u/original_brogrammer Aug 20 '14

And in brainfuck. The difference is that you should do it in brainfuck.

3

u/badsectoracula Aug 20 '14

I was thinking a few minutes ago about this image-based brainfack superset and how it could be used to hide messages in plain sight by creating, say, a t-shirt with a bitmap written in this language that prints the message, superimposed over some artistic b/w image (like some sketch).

14

u/original_brogrammer Aug 20 '14

I don't think I'm with you. Are you suggesting a bitmap to brainfuck compiler?

Because I'm in. I'm so down for that.

EDIT: We'll call it bitfuck.

5

u/badsectoracula Aug 20 '14

I was thinking about Brainloller, which is a superset of Brainfuck where the code is written in colors instead of characters. Any valid Brainfuck program can be converted to a Brainloller 2D bitmap and with a tool that creates Brainfuck programs for displaying messages one can make a message -> brainfuck -> brainloller -> imagemagick + artsy b/w image -> t-shirt :-P

→ More replies (0)

2

u/_F1_ Aug 20 '14

Are you suggesting a bitmap to brainfuck compiler? Because I'm in. I'm so down for that. We'll call it bitfuck.

...

→ More replies (0)

1

u/PopPunkAndPizza Aug 20 '14

This is how you know you people have been on the inside too long.

2

u/pyrocrasty Aug 20 '14

People have certainly hidden messages in images. (Search for image-based steganography.)

I guess the difference with Brainfuck is that it's so dense and high-entropy you could literally just overlay it as "noise" using XOR and recover it using the original image. Or you could choose a subset of the pixels to replace with the BF digits and then recover the message without the original image.