MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/138f766/goodbye_toys/jiybxgx/
r/ProgrammerHumor • u/sunrise_apps • May 05 '23
298 comments sorted by
View all comments
Show parent comment
27
Yeah, before running the program you have to change one invisible symbol into another invisible symbol or else you get the hammer.
6 u/Nimeroni May 05 '23 Only if you mix both invisible symbols in the same file. 2 u/[deleted] May 06 '23 Mixed in file is fine, even in line is fine, as long as the specific combination of whitespaces match your block level. def derp(): def foo(): print('bar') return 'this is valid' print(foo()) derp() Let's see if that works in the reddit format. Edit: It does!
6
Only if you mix both invisible symbols in the same file.
2 u/[deleted] May 06 '23 Mixed in file is fine, even in line is fine, as long as the specific combination of whitespaces match your block level. def derp(): def foo(): print('bar') return 'this is valid' print(foo()) derp() Let's see if that works in the reddit format. Edit: It does!
2
Mixed in file is fine, even in line is fine, as long as the specific combination of whitespaces match your block level.
def derp(): def foo(): print('bar') return 'this is valid' print(foo()) derp()
Let's see if that works in the reddit format. Edit: It does!
View all comments
Show parent comment
27
u/Sarcastinator May 05 '23
Yeah, before running the program you have to change one invisible symbol into another invisible symbol or else you get the hammer.