this post was submitted on 04 Jun 2023
17 points (100.0% liked)

Programming

13483 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I saw this one a while ago but still check it when I'm doing something that seems trivial but probably has many edge-cases.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] CasualTee 7 points 2 years ago (1 children)

I liked the one about music. If you've read a few partition, you'll quickly realize music writing is more guidelines than actual rules. There are different ways to represent the same sequence of notes, and the choice made by the compositor conveys meaning. It's more akin to a short story than a math formula really. And so, you cannot represent music programmatically without allowing some free-form input somewhere.

[โ€“] catacomb 4 points 2 years ago

Oh I would mess this up so bad because I know very little about music. It's funny because, in trying to develop something, we're always trying to find absolute rules and restrict the user into our scheme and sometimes it just makes worse software.

I liked the point about "Okay, maybe not with European notation." So many of these falsehoods are about cultural differences and, so often, we project our local understanding of a problem on the whole world. I mean, my first thought would be "they need some staff lines where they can put notes" but that's not true for everyone.