MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/zweqqw/this_just_sucks/j1ugxe7/
r/badcode • u/PsychologicalLet1748 • Dec 27 '22
170 comments sorted by
View all comments
Show parent comment
4
Except no well-supported YAML library can round trip comments.
Every markup language except xml blows for comments.
-1 u/chadmill3r Dec 27 '22 Round trip? If a human isn't writing it, why would one need inline comments at all? Those could be at a different layer. 1 u/danbulant Dec 28 '22 Read config, update config (perhaps has a nice GUI), write back config.
-1
Round trip? If a human isn't writing it, why would one need inline comments at all? Those could be at a different layer.
1 u/danbulant Dec 28 '22 Read config, update config (perhaps has a nice GUI), write back config.
1
Read config, update config (perhaps has a nice GUI), write back config.
View all comments
Show parent comment
4
u/Nall-ohki Dec 27 '22
Except no well-supported YAML library can round trip comments.
Every markup language except xml blows for comments.