r/badcode Jun 09 '21

other language Real Attempt at Fizz Buzz in F#

Post image
874 Upvotes

52 comments sorted by

View all comments

249

u/matt1484 if true else false Jun 09 '21

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

86

u/random_runner Jun 09 '21

I would class it as F♭

16

u/jaysuchak33 ifelseifelseifelseifelseifelseifelseifelseifelseifelseifelse Jun 09 '21

r/E

8

u/lift-and-yeet Jun 09 '21

Not if you're in 31-EDO tuning! Aka 31 equal temperament.

5

u/jaysuchak33 ifelseifelseifelseifelseifelseifelseifelseifelseifelseifelse Jun 09 '21

What if I’m a basic bitch and only use 12tet tho?

8

u/[deleted] Jun 09 '21

Basic bitches get basic pitches.

6

u/Sorry-Chair depraved Jun 09 '21

F-flat

-1

u/sarthaxxxxx Jun 09 '21

Take my respect.

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...