335 votes
Accepted

Make your language unusable

JavaScript Shell This will make the language completely unusable. clear(this); Isn't it nice how JavaScript has such a nice function to destroy itself? This ...
  • 28.5k
208 votes

Tweetable Mathematical Art

Table cloths Flat I started out putting a plaid/gingham pattern into perspective like a boundless table cloth: ...
  • 10.7k
190 votes

Tweetable Mathematical Art

Random painter ...
182 votes

Make your language unusable

Emmental ;#33! I know this isn't code golf, but the right tool for the job, you know... The user's code can be inserted after the ...
181 votes
Accepted

Programming Languages Through The Years

2013 - Dogescript Dogescript is a language created in 2013 by Zach Bruggeman. It is nothing more than a syntax-replacement for Javascript to make it read like the internal monologues of memetic Shiba ...
  • 7,664
177 votes

Sort a list and write some English!

GolfScript Dear Boss Man. It came to my attention that my keyboard needs replacement; the keys required to write the symbols ~ $ ` . and } are not functioning properly. It's very difficult to work ...
  • 207k
162 votes

Tweetable Mathematical Art

Some swirly pointy things Yes, I knew exactly what to name it. ...
  • 4,273
144 votes

Make an error quine!

Windows Command Prompt & was unexpected at this time.
133 votes
Accepted

Make a circle illusion animation

Python 3.4 Using the turtle module. The turtles are different colours and they always face in the same direction, so they can be easily seen to be moving along straight lines by just focusing on one ...
  • 10.7k
131 votes
Accepted

Make an error quine!

Ed (1 byte) All the other solutions thus far are long and ugly. I suppose that is because of the nature of most error messages. But a good error message is elegant in its simplicity. For that, look ...
  • 2,041
122 votes

Tweetable Mathematical Art

Of course, there has to be a Mandelbrot submission. ...
122 votes

Sort a list and write some English!

PHP Defines a function called item that will sort an array that you pass it. ...
  • 70.7k
120 votes
Accepted

Tweetable Mathematical Art

Mandelbrot 3 x 133 chars The first thing that popped into my mind was "Mandelbrot!". Yes, I know there already is a mandelbrot submission. After confirming that I'm able to get it below 140 ...
118 votes
Accepted

Debunking Stroustrup's debunking of the myth “C++ is for large, complicated, programs only”

Wolfram This feels like complete cheating Import["http://www.stroustrup.com/C++.html", "Hyperlinks"] So just add some honest parsing on top ...
  • 7,664
114 votes

Debunking Stroustrup's debunking of the myth “C++ is for large, complicated, programs only”

C++ ...
  • 1,249
112 votes
Accepted

Draw an Image as a Voronoi Map

Python + scipy + scikit-image, weighted Poisson disc sampling My solution is rather complex. I do some preprocessing on the image to remove noise and get a mapping how 'interesting' each point is (...
  • 38.8k
110 votes

Tweetable Mathematical Art

Julia sets If there's a Mandelbrot, there should be a Julia set too. You can spend hours tweaking the parameters and functions, so this is just a quick one that looks decent. Inspired from Martin's ...
107 votes

Tweetable Mathematical Art

This one is interesting because it doesn't use the i, j parameters at all. Instead it remembers state in a static variable. ...
103 votes

Tweetable Mathematical Art

...
  • 2,619
102 votes
Accepted

The Smart Person's Mirage

The most beautiful version, you say? Then, let's try this one in... Shakespeare Programming Language ...
  • 4,008
102 votes

Make your language unusable

PHP One can completely kill PHP by setting the memory limit to 1. It will completely die. Try this: <?php ini_set('memory_limit',1); //code here This ...
101 votes
Accepted

Draw random black-and-white forest

C: 3863 1144 1023 999 942 927 The original solution saves 2 pnm files per run (one with g appended, before dithering). Because the dithering wasn't beautiful for the first few lines, there is a hack ...
99 votes
Accepted

More is less and less is more

Any REPL with caret XOR operation, 5 bytes 11^11 11^11 is of course 0. The only other possibilities are ...
  • 30.9k
98 votes

Make a circle illusion animation

C Result: ...
  • 1,649
95 votes

Make your language unusable

x86 machine code in real mode (=> almost any DOS program) 00000000 6a 00 07 b9 00 04 30 c0 31 ff f3 aa |j.....0.1...| 0000000c i.e. ...
87 votes

Debunking Stroustrup's debunking of the myth “C++ is for large, complicated, programs only”

Pure Bash on Linux/OS X (no external utilities) HTTP client software is notoriously bloated. We don't want those kinds of dependencies. Instead we can push the appropriate headers down a TCP stream ...
86 votes

Make an error quine!

CoffeeScript, syntactically valid As tested on their website using Chrome or Firefox. ReferenceError: defined is not defined You can replace ...
81 votes

Tweetable Mathematical Art

Buddhabrot (+ Antibuddhabrot) Edit: It's a proper Buddhabrot now! Edit: I managed to cap the colour intensity within the byte limit, so there are no more falsely black pixels due to overflow. I ...
81 votes

Reversed language name

PHP, 3 bytes PHP Try it online! It looks like it outputs the language name, but it's actually the letters in reversed order.

Only top scored, non community-wiki answers of a minimum length are eligible