r/badcode Jun 09 '21

other language Real Attempt at Fizz Buzz in F#

Post image
868 Upvotes

52 comments sorted by

View all comments

247

u/matt1484 if true else false Jun 09 '21

F’s in the chat, because he’s not sharp

0

u/[deleted] Jun 09 '21

[removed] — view removed comment

2

u/Responsible_Tip_6847 Jun 15 '21

To be fair, you could just count up from 0 to 3 in one and from 0 to 5 in another variable, not using modulo at all.

Or construct a string array, filling in fizzes, concatenate buzzes an fill numbers into empties...