Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797708yld ip, ip-2 ; 2-byte instruction
One-line infinite loop in z80 assembly.
Or...
:ranting
jmp :ranting -
RantLvl=1
for i in range(RantLvl):
RantLvl +=i
#despair engaged
You may ask how is this superior to the filthy while(true). But you don't seem to understand! You are reaching infinity at the same time ... I ... I am reaching it faster!!!! -
int rantLevel = 0;
while (true)
{
rantLevel++;
}
//It's c# if you're wondering... -
// Meanwhile, in Java...
public class InfiniteLoop
{
public static void main(String[] args)
{
int rantLevel = 0;
while(true)
{
rantLevel++;
}
}
}
Related Rants
int rantLevel = 0;
while(true) {
rantLevel++;
}
Join the army! Create an infinite loop with your favorite language and comment it 🤔
undefined
infiniteloop