Skip to content
Sign upLog in
← Back to Community

LONGEST CODE ON EARTH

Profile icon
SkyyCivil

Make the longest code you possibly can
BETA

-GOOD LUCK!

Voters
Profile icon
LewisSMITH13
Profile icon
lightningTiger2
Profile icon
HunterStevenson
Profile icon
IsaiahSmith18
Profile icon
DanielSvitak
Profile icon
Omartaherabdo
Profile icon
RobertRussell2
Profile icon
SYEDMUZAKKIR
Profile icon
PheonixWrens
Profile icon
MaxGavin1
Comments
hotnewtop
Profile icon
Zavexeon

This writes an "infinitely" long file of code.

var fs = require('fs'); var fileStream = fs.createWriteStream('infiniteJS.js'); let x = 0; stream.once('open', function(fd) { while (true) { stream.write(`console.log('Line number ${x} of code.')`); x++; } });
Profile icon
SkyyCivil

@Zavexeon

what format
C, C++, java, etc

Profile icon
Zavexeon

@SkyyCivil
NodeJS

Profile icon
SkyyCivil

@Zavexeon

ohhhhhhh

Profile icon
SkyyCivil

@SkyyCivil
ill show you something!

Profile icon
SkyyCivil
Profile icon
SkyyCivil

@SkyyCivil

lol no. im not included
####This is haw we do it

Profile icon
SkyyCivil

@Zavexeon

bruh
it not work that well tho

Profile icon
Zavexeon

@SkyyCivil
Well of course it doesn't work well, it's an infinite loop. Performance goes out the window without any sort of delay in the loop.

Profile icon
SkyyCivil
Profile icon
etian

lol i broke it
How many half cooked dogs do you have?
40000000000000000000000000
dogdied

Profile icon
SkyyCivil

@etian
try this one

Profile icon
pedroguscos73

just go on c, put while(1) and let it be :v

Profile icon
SkyyCivil

dog so crispy

Profile icon
SkyyCivil

Can we get some more upvotes

Profile icon
jwangtcsyl

Well, if you want to make it long it will take forever to let the computer type

Profile icon
SkyyCivil

@jwangtcsyl

that is true

Profile icon
8D_Joe_Efretuei

Nice G

Profile icon
mwilki7
F1:: WinActivate, Notepad SendRaw F2:: SendRaw Send a Send {enter} while (true) { Send ^a Send ^c Send ^v }

Now you have code that's is indefinitely copied at an exponential rate of 2^n !!

Profile icon
SkyyCivil
Profile icon
SkyyCivil

Guys this is the beta version I accidentally put the other one into the ask section.