[–] OptionOfT 4mo ago ↗ As someone who only has used C in conjunction with Rust...Given that it is 2026, what are some of the thoughts that go into choosing C99 vs C23, which I presume has more quality-of-life features?
[–] ceteia 4mo ago ↗ Nitpicking:https://github.com/thelowsunoverthemoon/mahler.c/blob/4ebfe8...Should that type have been mah_acci instead of int? mah_acci doesn't seem to be used anywhere.Also, have you considered using (edit) designated initializer syntax for some of the function calls that take in structs as arguments?https://cppreference.com/w/c/language/struct_initialization.... struct mah_scale scale = mah_get_scale( (struct mah_note) { .tone=MAH_C, .acci=MAH_NATURAL, .pitch=4 }, &MAH_BLUES_SCALE, notes, MAH_ASCEND, NULL );
[–] randomNumber7 4mo ago ↗ What is the purpose of this and how would I use it (as someone who actually knows a lot about music theory and C programming)?
[–] firmretention 4mo ago ↗ Yes, you sit at that piano every Sunday morning and play Mahler for Maris. But you hate Mahler. Besides Maris, who doesn't?
5 comments
[ 0.24 ms ] story [ 24.0 ms ] threadGiven that it is 2026, what are some of the thoughts that go into choosing C99 vs C23, which I presume has more quality-of-life features?
https://github.com/thelowsunoverthemoon/mahler.c/blob/4ebfe8...
Should that type have been mah_acci instead of int? mah_acci doesn't seem to be used anywhere.
Also, have you considered using (edit) designated initializer syntax for some of the function calls that take in structs as arguments?
https://cppreference.com/w/c/language/struct_initialization....