The Stack Overflow podcast is back! Listen to an interview with our new CEO.
442

Stuck, 0 bytes Well, can't get shorter than that... An empty program will output Hello, World! in Stuck.


259

Python 3, 190 172 171 169 167 160 159 147 143 bytes Using PIL version 1.1.7 which has a deprecated but not removed offset method. from PIL.ImageDraw import* i=Image.new('RGB',(25,18),'#d72828') Draw(i).rectangle((1,1,23,16),'#0048e0',~0) i.offset(9).resize((100,72)).show() Creates a 25*18 pixel image filled with red then draws a 23*16 pixel rectangle ...


244

PHP, 13 bytes Hello, World! Yes. It works.


241

Brainfuck, 78 bytes Open-ended bounty: If anyone can improve this score, I will pass the bounty (+500) on to them. @KSab has found a 76 72 byte solution! --<-<<+[+[<+>--->->->-<<<]>]<<--.<++++++.<<-..<<.<+.>>.>>.<<<.+++.>>.>>-.<<<+. Try it online! The ...


222

ArnoldC, 71 bytes IT'S SHOWTIME TALK TO THE HAND "Hello, World!" YOU HAVE BEEN TERMINATED Just for lols..


204

Seed, 6016 4234 4203 bytes 20 ...


191

Trumpscript, 303 285 244 231 226 bytes make i 1000005-1000000 as long as,i;: make i,i - fact; say "_|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|" say "___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|__"! America is great I would like to say this is one of the most verbose languages where almost everything fails ...


156

Mornington Crescent, 3614 3568 bytes Thanks to NieDzejkob for saving 46 bytes by using shorter line names. Take Northern Line to Hendon Central Take Northern Line to Bank Take Circle Line to Bank Take District Line to Gunnersbury Take District Line to Victoria Take Victoria Line to Seven Sisters Take Victoria Line to Victoria Take Circle Line to Victoria ...


156

Wordfuck, 5761 2686 bytes I guess using his name as a source code gets Adam West some honor. adam west adam west adam_wes t_a dam_we st_a dam_ west adam west adam west adam west_ad am_west_a dam_we st ad am we st ad am we st ad am west_a dam_we st_a dam_ west_ada m_w est ada m_w est ada m_west_ adam west_a dam_west_ adam_we st_ ad am_west ad am we st ad am ...


132

Python 2, 64 print' ottffssennwhoiieiieoruvxvgn ere ehe e nt'[input()::9] This is what the string looks like with some extra whitespace (try reading vertically): o t t f f s s e n n w h o i i e i i e o r u v x v g n e r e e h e e n t As explained in the comments below, [input()::9] starts at the given index and selects every ninth ...


123

evil, 70 bytes aeeeaeeewueuueweeueeuewwaaaweaaewaeaawueweeeaeeewaaawueeueweeaweeeueuw It uses the following four commands: a - increment the register u - decrement the register e - interweave the register's bits (01234567 -> 20416375) w - write the value of the register as an ASCII character


122

LOLCODE: 109 (105 with "correct" spelling) LOLCODE is not a great language for golfing, especially since you lose all the beauty and expressiveness when shortening the code. HAI H R "HAPPY BIRTHDAY " T R SMOOSH H "TO YOU" VISIBLE T VISIBLE T VISIBLE SMOOSH H "DEAR LOLCODE" VISIBLE T Test it using loljs This is my preferred rendition, weighing in at 187 ...


117

x86 real-mode machine code for DOS COM, 69 65 63 62 bytes The code is meant to be executed as a DOS COM executable. Special thanks meden, saved four bytes. meden, saved two bytes and removed the flickering. Machine code (in hex bytes) 68 00 A0 07 B8 13 00 CD 10 BE 23 01 AD 91 AD 91 AC E3 FE 60 30 ED F3 AA 61 81 C7 40 01 FE CD 75 F2 EB E9 ...


117

V, 189, 179, 175, 164, 161, 157, 155, 149, 145, 141, 135 bytes ¬19É`A0-=BS´ TAB³ qwertyuiop[]\ CAPS³ asdfghjkl;'ENTER SHIFT´ ÄJizxcvbnm,./Í„A-Z ]/Õ& ÍÓ«ü$/|||& òÙÓ„|]/_ ÙÓ׫/Ü|¯ kkPÓ/_ _ kòÎx$x Try it online! This answer is now tweetable! Watch it run! This is a slightly modified version that updates as it runs ...


112

brainfuck, 72 bytes +[-->-[>>+>-----<<]<--<---]>-.>>>+.>>..+++[.>]<<<<.+++.------.<<-.>>>>+. Try it online! And the original non-wrapping 76 byte solution: +[+[<<<+>>>>]+<-<-<<<+<++]<<.<++.<++..+++.<<++.<---.>>.>....


101

Vim, 25 23 bytes :h<_↵jjYZZP25@='Ypx$p'↵ Where ↵ is the Return key. :h<_↵ Open the help section v_b_<_example. jjY Copy the "abcdefghijklmnopqrstuvwxyz" line. ZZP Close this buffer and paste in ours. 25@=' '↵ Run these commands 25 times: Yp ...


96

T-SQL, 442 441 426 355 349 344 bytes DECLARE @ VARCHAR(MAX)=REPLACE(REPLACE(REPLACE('DECLARE @a5MULTIPOINT((0 31),(19 -2),(-19 -2))'',@b5MULTIPOINT((0 39),(26 -6),(-26 -6))'',@5POINT(0 9)'',@d5LINESTRING(0 9,0 99,90 -43,0 9,-90 -43)''SELECT @a830%b821)%86)%d81)%d84%819))).STUnion(@827%820)).STIntersection(@b819)))' ,8,'.STBuffer('),5,' GEOMETRY='''),'%',')....


93

GCC, score 2200 / 36 ≈ 4.5 × 1058 #include __FILE__ #include __FILE__ I have not actually finished compiling this code, but based on testing and simple mathematics, it should produce a total of 2200 #include nested too deeply errors. Of course, the program is trivially extensible. Adding a third line brings the score up to 3200 / 54 ≈ ...


90

Hexagony, 271 bytes I present to you, the first 3% of a Hexagony self-interpreter... |./...\..._..>}{<$}=<;>'<..../;<_'\{*46\..8._~;/;{{;<..|M..'{.>{{=.<.).|.."~....._.>(=</.\=\'$/}{<}.\../>../..._>../_....@/{$|....>...</..~\.>,<$/'";{}({/>-'(<\=&\><${~-"~<$)<....'.>=&'*){=&...


90

MATL, 70 68 67 bytes '()'12:)l10:&<toYP43Y$51hb(!10Xy'\::\'FFhZ++'|'3$Yc'||\'3:(95'Zd'o( Try it online! Explanation What a mess. But hey, there's a convolution! The explanation will be clearer if you can inspect the stack contents after a given statement. To do it, just insert X#0$% at that point. (This means: X# show stack contents, 0$ don't ...


89

Mathematica- barcode birthday wishes--way too many bytes This prints the verses and reads them aloud. Happy Birthday to You Happy Birthday to You Happy Birthday Dear Mathematica Happy Birthday to You StringReplace replaces each comma with a NewLine. Barcodes cannot contain control characters.


87

Charcoal, 2 bytes ↘β Try it online! How? β - the lowercase alphabet ↘ - direction Exactly the kind of challenge for which Charcoal was originally designed.


84

Piet, 90 codels This is a 30 by 3 image. Alternatively, at codel size 10: The uses a 3-high layout so that I only need to pointer once. If this is still golfable I could probably shave at most another column, since there's a push-pop no-op in there. Edit: @primo's 84 codel solution.


84

Python 2, 38 30 28 bytes lambda S:`6793**164`[len(S)] Try it online! Unfortunately still one byte longer than the best Python 2 answer thus far; though not using the enklact-approach. Now one byte shorter than i cri everytim's answer! How does it work? After a lot of brute force, I found an expression that results in a number which has just the right ...


82

Haystack, 17 Bytes Haystack is a 2D programming language that executes until it finds the needle in the haystack |, all while performing stack-based operations. All programs start from the top left corner, and can use the directional characters ><^v to move around the program. Direction is inherited, so you do not need to keep using > to go right, ...


81

Ruby 576 557 556 (552) chars && PHP 543 chars Another search-and-replace solution. Note that this form of solution is essentially a Grammar-based Compression Code http://en.wikipedia.org/wiki/Grammar-based_code Check out http://www.cs.washington.edu/education/courses/csep590a/07au/lectures/lecture05small.pdf for a simple to understand compression ...


77

JavaScript (ES6) 164 B='teen-hundreds were a time',alert(B.replace(/./g, "The eigh"+B+" for rum.\nThe nine"+B+" for fun.\nThe two-thousands are a time to run\na civilized classroom.\n")) Test In FireFox/FireBug console.


76

Python 2, 56 i=0;exec"print i%3/2*'Fizz'+i%5/4*'Buzz'or-~i;i+=1;"*100


76

Hexagony, 91 bytes Thanks for the bounty :) Wow, I would never have imagined I could beat Martin’s Hexagony solution. But—who would have thunk it—I got it done. After several days of failure because I neither had the Hexagony colorer nor the EsotericIDE to check my solution. I got several aspects of the specification wrong, so I produced a few wrong “...


76

HTML/CSS, 183 180 163 161 160 147 143 bytes a{display:inline-flex;overflow:hidden;width:1ch}c{animation:c 1s steps(4)infinite}@keyframes c{to{margin:0-4ch <pre>Loading... <a><c>|/-\</pre> Edit: Saved 3 bytes thanks to @betseg. Saved 17 bytes thanks to @manatwork. Saved 1 byte thanks to @Daniel. Saved 13 bytes thanks to @...


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