this post was submitted on 09 Nov 2024
49 points (87.7% liked)

Programmer Humor

32475 readers
1485 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 3 comments
sorted by: hot top controversial new old
[–] cybervseas@lemmy.world 9 points 6 days ago (1 children)
[–] ImplyingImplications@lemmy.ca 9 points 6 days ago
if this.time_of_year and this.time_of_day and this.part_of_country and this.location == 'kitchen':
    is_viewable = False
[–] eldavi@lemmy.ml 6 points 6 days ago

throw in a couple of if/then blocks for balance and make sure that the same lines are copied and pasted further down in the source to be used again. lol