this post was submitted on 21 Nov 2025
32 points (97.1% liked)

Programming

23529 readers
294 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 0 points 8 hours ago (1 children)

This is silly, and not in an interesting way.

[–] palordrolap@fedia.io 1 points 7 hours ago

There's an argument to be made that a continuous function is better than a piecewise function when coming at things mathematically, so in that sense it's at least somewhat interesting.

Sure, in computer science where discrete mathematics is king and the modulus operator is ubiquitous, a cosine representation is entirely unnecessary, but from a recreational mathematical angle, it's a fun distraction.

And it's not like cosine interpolations are useless in a broader sense. They've contributed much to computer graphics.

[–] vivalapivo@lemmy.today 7 points 18 hours ago

I feel like we could make it weirder using the fact that fizzbuzz is a concatenation of fizz and buzz.

[–] ZILtoid1991@lemmy.world 6 points 18 hours ago

Still better than Enterprise Fizz Buzz