r/ProgrammerHumor • • Jul 08 '20

Meme Your IDE when you declare a new method

24.7k Upvotes

365 comments sorted by

View all comments

Show parent comments

4

u/SuspiciousScript Jul 09 '20

Or return 1==1

Or return true

Or just return 1

2

u/BelieveRL Jul 09 '20

I know the point was to make stupid code :)

if (“potato”.equals(“potato”)){ return 1==1?True:false;}

You see lmao

1

u/SuspiciousScript Jul 09 '20

idk still looks pretty inefficient to me, I'd suggest

asm {
    ori	$v0 $zero 1
	jr	$ra
}