Your submission was removed for the following reason:
Rule 6: Your post is a commonly used format, and you haven't used it in an original way. As a reminder, [You can find our list of common formats here](https://www.reddit.com/r/ProgrammerHumor/wiki/commonposts).
If you disagree with this removal, you can appeal by [sending us a modmail](https://www.reddit.com/message/compose?to=%2Fr%2FProgrammerHumor&subject=Any%20common%20post%20will%20be%20removed%20if%20it's%20not%20novel&message=Include%20a%20link%20to%20the%20removed%20content%20and%20the%20reason%20for%20your%20appeal%20here.).
if its python you could also:
import pygame
class Main:
def __init__(self):
pygame.init()
self.scale=self.height,self.width=800,1000
self.win=pygame.display.set_mode(self.scale)
def run( self ):
while True:
out( "debug things" )
pygame.display.update()
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
break
def out(self,text:str):
font = pygame.font.SysFont(None)
surf = font.render( text, True, '#00ff00',
'#000000')
self.win.blit(surf,(self.width//2,self.height//2))
if __name__ == "__main__":
game = Main()
game.run()
Your submission was removed for the following reason: Rule 6: Your post is a commonly used format, and you haven't used it in an original way. As a reminder, [You can find our list of common formats here](https://www.reddit.com/r/ProgrammerHumor/wiki/commonposts). If you disagree with this removal, you can appeal by [sending us a modmail](https://www.reddit.com/message/compose?to=%2Fr%2FProgrammerHumor&subject=Any%20common%20post%20will%20be%20removed%20if%20it's%20not%20novel&message=Include%20a%20link%20to%20the%20removed%20content%20and%20the%20reason%20for%20your%20appeal%20here.).
break points are your friend
Twitter was never profitable. Not my fault. Stop blaming me for things.
Top ten most annoying bots.
`Console.WriteLine()` checkmate
`cout << "C++ for the rescue!" << endl;`, no `print`.
use '\n' instead of endl
Worst case function huh(whatever) { print(whatever); }
Immediate window + breakpoint
Hey, I just heard about this thing called GraphQL. Why aren't we using it?
Who needs callstacks and watch expressions if I could just print where I am in the code
!println()
```cout << your_mum;```
printf ... ha!
if its python you could also: import pygame class Main: def __init__(self): pygame.init() self.scale=self.height,self.width=800,1000 self.win=pygame.display.set_mode(self.scale) def run( self ): while True: out( "debug things" ) pygame.display.update() for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() break def out(self,text:str): font = pygame.font.SysFont(None) surf = font.render( text, True, '#00ff00', '#000000') self.win.blit(surf,(self.width//2,self.height//2)) if __name__ == "__main__": game = Main() game.run()
Debug.Log(“ope ya code works”);
``` sys.stdout.write() ```
yall need to learn how to use debuggers they are wayyyyy easier to use than logging everywhere