Skip to main content
243 votes

"Hello, World!"

Seed, 6016 4234 4203 bytes ...
feersum's user avatar
  • 31.4k
214 votes

Hello, World! (Every other character)

Python 3, 61 bytes rant="partisn't" print(("HHeelllloo,, WWoorrlldd!!"""[::2])) Try it online! Abusing the fact that print ...
vroomfondel's user avatar
  • 2,274
206 votes

Trick or Treat polyglot

Python / Windows Batch, 25 bytes print"trick"#||echo.treat Everything after the # is interpreted as a comment by python, while the || is an OR in batch, saying ...
cure's user avatar
  • 1,751
192 votes

Build me a brick wall!

Trumpscript, 303 285 244 231 226 bytes ...
Blue's user avatar
  • 28.6k
168 votes

Count of "a"s and "b"s must be equal. Did you get it computer?

Python 3, 32 bytes eval(input().translate(")("*50)) Try it online! Outputs via exit code: Error for false, no error for True. The string is evaluated as ...
xnor's user avatar
  • 145k
165 votes

"DDoouubbllee ssppeeaakk!!"

Malbolge, 20775 and 2334 bytes Probably I didn't beat anyone with it, but it was incredibly fun to make. ...
Kamila Szewczyk's user avatar
164 votes

"Hello, World!"

brainfuck, 72 bytes ...
KSab's user avatar
  • 6,704
164 votes

What my dog really hears

**REXX 151 148 141 bytes ** (Kinda seemed appropriate) ...
theblitz's user avatar
  • 1,241
160 votes

Trick or Treat polyglot

Whitespace / Starry, 135 bytes Here's to a clear night sky on Halloween! + + + + + + * + +* + * + * + + +* + +* + . + . + +* +...
0																												''s user avatar
  • 3,781
155 votes
Accepted

Trick or Treat polyglot

2sable / pl, 8 bytes 0000000: 74 72 65 61 74 93 d0 cb treat... Both programs have been tested locally with the same 8 byte file, so this ...
Dennis's user avatar
  • 210k
153 votes

Print invisible text

Whitespace, 311 150 77 68 65 46 41 38 bytes -3 bytes thanks to Kevin Cruijssen -27 bytes thanks to Ephphatha ...
Rod's user avatar
  • 18.4k
141 votes

Trick or Treat polyglot

Linux ELF x86 / DOS .COM file, 73 bytes ...
ninjalj's user avatar
  • 3,136
137 votes

No A, just CAPS LOCK

AutoHotKey, 7 bytes a::vk14 // Is this valid? This really do what OP want -- replace a by CapsLock (vk14). Run this program, and type the input from keyboard..
tsh's user avatar
  • 34.9k
122 votes

It took me a lot of time to make this, pls like. (YouTube Comments #1)

brainfuck, 32 bytes ,[[<]>[.>]++++++++++.,[>>]<[-]<] Try it online! The same loop is used for both halves of the pattern. Explanation: <...
Nitrodon's user avatar
  • 10.8k
121 votes

GO OUT AND VOTE

Minecraft Chat (vanilla 1.10 client, spigot 1.10 server): 19 bytes &4I &1V&4o&1t&4e&1d or from the clientside: ...
tuskiomi's user avatar
  • 3,831
115 votes

Print a Tabula Recta!

Vim, 25 23 bytes :h<_↵jjYZZP25@='Ypx$p'↵ Where is the Return key. ...
lynn's user avatar
  • 68.8k
115 votes

"DDoouubbllee ssppeeaakk!!"

brainfuck, 6 bytes ,[..,] Try it online! For once, a really competitive answer in brainfuck. :-) It just reads from the standard input (...
Charlie's user avatar
  • 12.9k
112 votes

Uncomment a COBOL program!

COBOL (GnuCOBOL), 191 + 17 = 208 bytes I "learned" COBOL for this answer, so it's probably not fully golfed. This is a full program, taking input on what I presume to be standard input and writing ...
Jakob's user avatar
  • 2,719
109 votes
Accepted

Java is to JavaScript as Car is to Carpet

Java/JavaScript Polyglot, 108 107 106 bytes //\u000As->s.matches("(?i)(?!.*javascript)java.*"/* a=>/(?!.*javascript)^java/i.test(a/**/)?"car":"carpet" Run ...
Olivier Grégoire's user avatar
106 votes

GO OUT AND VOTE

C, 82 80 78 74 54 bytes Thanks to @WillihamTotland and @criptych for saving 2 bytes each! f(){puts("␛[47;31mI␛[34m V␛[31mo␛[34mt␛[31me␛[34md");} Where ...
betseg's user avatar
  • 8,723
105 votes

Trick or Treat polyglot

evil / ZOMBIE, 109 bytes Another spooky answer ! ...
Aaron's user avatar
  • 3,849
97 votes

Trick or Treat polyglot

Python / Perl, 28 bytes print([]and"trick"or"treat") Explanation Since [] is an ArrayRef in Perl, it's truthy, but it's an ...
Dom Hastings's user avatar
  • 23.9k
94 votes

Covfefify a string

Jelly,  58  57 bytes <TḢị e€Øyµ¬TĖEÐḟḢṪ;ç¥T ḣÇḢ⁸ÇịµḢØYiị“ßȷ%Hẹrȧq’œ?ØY¤⁾cgy;ẋ2 A full program that accepts a list of lowercase characters and prints ...
Jonathan Allan's user avatar
91 votes
Accepted

How much time is remaining?

Excel, 6 Bytes =B1-A1 Assuming A is in cell A1 and B is in cell B1
Riley's user avatar
  • 11.7k
88 votes

Output programming language name

Outputs to STDERR Outputting to STDERR is now at +33/-21 as an allowed default, which is positive but contested. This is a CW answer to collect answers that just invoke an error in a language where ...
88 votes

Code Johnny Code, Code!

Go, 123 bytes Go Johnny, Go! Try it online! ...
Uriel's user avatar
  • 13.2k
88 votes

Sugar Free Syntax

Haskell, 26 bytes (++"[]").((++":").show=<<) Try it online! Explanation: In non-pointfree notation and using ...
Laikoni's user avatar
  • 26.2k
88 votes

When do I get my sandwich?

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 ...
Jonathan Frech's user avatar
84 votes

Unique is Cheap

MATL, score 4 &=Rz Try it online! Explanation Consider input 'ABBA' as an example. ...
Luis Mendo's user avatar
  • 105k

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