264
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 09 Apr 2026
264 points (99.3% liked)
Programmer Humor
30852 readers
1601 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
I remember having to program a trap for double-clicking buttons in an application.
Then I had to implement a penalty for triple-clicking.
Later, I converted it to a progressive incremental penalty.
I’m actually surprised no one’s roasted my math in ShatterCanvas.xaml.cs yet—I’m basically faking the 'gravity' by just incrementing VelocityY every frame. It’s surprisingly lightweight for how many polygons are flying around.
What is acceleration other than increase in velocity over time? Nothing to roast!
Incremental penalties are the way! I see you’re also a student of the 'Hostile UX' school of design. Shaking the window is basically the ultimate progression of button spam—once you exceed the velocity threshold, the UI simply quits on you. ψ(`∇´)ψ