this post was submitted on 20 Jul 2025
671 points (99.0% liked)

[Dormant] moved to !historyphotos@piefed.social

7334 readers
2 users here now

COMM MOVED TO !historyphotos@piefed.social

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LH0ezVT@sh.itjust.works 4 points 3 months ago

Yeah. Code explains how, comments explain why. I can see what happens, but I surely cannot see why someone thought this was a good idea. Please don't write int addSomeSpecificFillerBytesBecauseTheLegacyAPICountsTheHeaderAsPartOfTheDataStructureAndTheCurrentAPIDoesNot()